summaryrefslogtreecommitdiffstats
path: root/.config/rollup.polyfills.js
diff options
context:
space:
mode:
Diffstat (limited to '.config/rollup.polyfills.js')
-rw-r--r--.config/rollup.polyfills.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/.config/rollup.polyfills.js b/.config/rollup.polyfills.js
index 1df059a..f089ceb 100644
--- a/.config/rollup.polyfills.js
+++ b/.config/rollup.polyfills.js
@@ -1,22 +1,21 @@
-import resolve from 'rollup-plugin-node-resolve'
-import commonjs from 'rollup-plugin-commonjs'
+import resolve from '@rollup/plugin-node-resolve'
+import commonjs from '@rollup/plugin-commonjs'
import { terser } from 'rollup-plugin-terser'
import filesize from 'rollup-plugin-filesize'
// We dont need babel. All polyfills are compatible
const config = (ie) => ({
- input: ie ? './.config/polyfillListIE.js' : './.config/polyfillList.js',
+ input: './.config/polyfillListIE.js',
output: {
- file: ie ? 'dist/polyfillsIE.js' : 'dist/polyfills.js',
- sourceMap: false,
+ file: 'dist/polyfillsIE.js',
format: 'iife'
},
plugins: [
resolve({ browser: true }),
commonjs(),
- terser(),
+ //terser(),
filesize()
]
})
-export default [false, true].map(config)
+export default [true].map(config)