[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#930635: SyntaxError: 'import' and 'export' may appear only with 'sourceType: module'



grunt default
Running "clean:build" (clean) task
>> 5 paths cleaned.

Running "bundle:build" (bundle) task
options.entry is deprecated, use options.input
>> SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' (2:0)
>> at error (/usr/lib/nodejs/rollup/dist/rollup.js:222:12)
>> at Object.error$$1 [as error] (/usr/lib/nodejs/rollup/dist/rollup.js:6075:6)
>> at /usr/lib/nodejs/rollup/dist/rollup.js:6084:28
>> at process._tickCallback (internal/process/next_tick.js:68:7)
Warning: Task "bundle:build" failed. Use --force to continue.

Aborted due to warnings.

Seems it uses rollup 0.24 to build.


Reply to: