Skip to content Skip to sidebar Skip to footer

Rollup Issue: Resolve Failed, Mootools Already Loaded, Must Be Run With Ava?

I'm having an error that makes absolutely no sense. I haven't run rollup -c in about an month and running it now is causing all sorts of mayhem. 1) mootools already loaded Why on e

Solution 1:

Issue has something to do with rollup-plugin-babel. I removed it, and I'm using rollup on the lib version (built) rather then the src.

module.exports = {
  external: [],
  entry: './lib/appProxypass/index.js',
  dest: './packages/proxypass-app/index.js',
  format: 'cjs',
  plugins: [
    require('rollup-plugin-commonjs')(),
    require('rollup-plugin-cleanup')()
  ]
}

Post a Comment for "Rollup Issue: Resolve Failed, Mootools Already Loaded, Must Be Run With Ava?"