Skip to content
Snippets Groups Projects
Commit dc982c66 authored by chris's avatar chris
Browse files

enable terser

parent b599288e
No related branches found
No related tags found
1 merge request!375Editor fixes
......@@ -2,7 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import css from 'rollup-plugin-import-css';
// import { terser } from 'rollup-plugin-terser';
import { terser } from 'rollup-plugin-terser';
export default {
input: './index.js',
......@@ -32,7 +32,7 @@ export default {
],
}),
commonjs(),
// terser(),
terser(),
],
external: ['wax-prosemirror-core', 'inversify', 'prosemirror-tables'],
};
......@@ -2,7 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import css from 'rollup-plugin-import-css';
// import { terser } from 'rollup-plugin-terser';
import { terser } from 'rollup-plugin-terser';
export default {
input: './index.js',
......@@ -28,7 +28,7 @@ export default {
runtimeHelpers: true,
}),
commonjs(),
// terser(),
terser(),
],
external: [
'react-dropdown',
......
......@@ -2,8 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import css from 'rollup-plugin-import-css';
// import { terser } from 'rollup-plugin-terser';
import { terser } from 'rollup-plugin-terser';
export default {
input: './index.js',
......@@ -24,6 +23,6 @@ export default {
runtimeHelpers: true,
}),
commonjs(),
// terser(),
terser(),
],
};
......@@ -2,7 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import css from 'rollup-plugin-import-css';
// import { terser } from 'rollup-plugin-terser';
import { terser } from 'rollup-plugin-terser';
export default {
input: './index.js',
......@@ -23,7 +23,7 @@ export default {
runtimeHelpers: true,
}),
commonjs(),
// terser(),
terser(),
],
external: ['uuid', 'wax-prosemirror-utilities'],
};
......@@ -2,7 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import css from 'rollup-plugin-import-css';
// import { terser } from 'rollup-plugin-terser';
import { terser } from 'rollup-plugin-terser';
export default {
input: 'index.js',
......@@ -28,7 +28,7 @@ export default {
runtimeHelpers: true,
}),
commonjs(),
// terser(),
terser(),
],
external: [
'uuid',
......
......@@ -2,7 +2,7 @@ import babel from 'rollup-plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import external from 'rollup-plugin-peer-deps-external';
import css from 'rollup-plugin-import-css';
// import { terser } from 'rollup-plugin-terser';
import { terser } from 'rollup-plugin-terser';
export default {
input: './index.js',
......@@ -23,7 +23,7 @@ export default {
runtimeHelpers: true,
}),
commonjs(),
// terser(),
terser(),
],
external: ['uuid'],
};
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment