You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
Im trying to run roll-up in tandem with the angular aot compiler, the aot works fine but when I try to run roll-up it says that there's an unexpected error in an rxjs file, but I don't think it's there??
Could there be something wrong with the parser?
import rollup from 'rollup'
import nodeResolve from 'rollup-plugin-node-resolve'
import commonjs from 'rollup-plugin-commonjs';
import uglify from 'rollup-plugin-uglify'
export default {
entry: 'src/main-aot.js',
dest: 'aot/dist/build.js',
sourceMap: true,
sourceMapFile: 'aot/dist/build.js.map',
format: 'iife',
onwarn: function(warning) {
if ( warning.code === 'THIS_IS_UNDEFINED' ) { return; }
if ( warning.indexOf("The 'this' keyword is equivalent to 'undefined'") > -1 ) { return; }
console.warn( warning.message );
},
plugins: [
nodeResolve({jsnext: true, module: true}),
commonjs({include: ['node_modules/rxjs/**']}),
uglify()
]
}
The text was updated successfully, but these errors were encountered:
Im trying to run roll-up in tandem with the angular aot compiler, the aot works fine but when I try to run roll-up it says that there's an unexpected error in an rxjs file, but I don't think it's there??
Could there be something wrong with the parser?
The text was updated successfully, but these errors were encountered: