-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
this is my code in rollup.config.js
:
import resolve from 'rollup-plugin-node-resolve';
export default [ {
input : 'src/znxy.js',
plugins : [
resolve( {
module : true,
jsnext : true
} )
],
output : [
{ file : 'dist/znxy.', format : 'umd', name : 'ZNXY' }
]
} ];
It is working well if I run rollup with rollup -c
.
But if I run it in gulp with rollup-stream
I would get this error message:
Error: Unexpected key '0' found, expected one of: acorn, amd, banner, cache, context, entry, exports, extend, external, file, footer, format, globals, indent, input, interop, intro, legacy, moduleContext, name, noConflict, onwarn, output, outro, paths, plugins, preferConst, pureExternalModules, sourcemap, sourcemapFile, strict, targets, treeshake, watch
Sherif-Ahmed
Metadata
Metadata
Assignees
Labels
No labels