You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rollup.polyfills.js 465B

1234567891011121314151617181920
  1. import resolve from '@rollup/plugin-node-resolve'
  2. import commonjs from '@rollup/plugin-commonjs'
  3. import filesize from 'rollup-plugin-filesize'
  4. // We dont need babel. All polyfills are compatible
  5. const config = (ie) => ({
  6. input: './.config/polyfillListIE.js',
  7. output: {
  8. file: 'dist/polyfillsIE.js',
  9. format: 'iife'
  10. },
  11. plugins: [
  12. resolve({ browser: true }),
  13. commonjs(),
  14. //terser(),
  15. filesize()
  16. ]
  17. })
  18. export default [true].map(config)