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

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



On Mon, 17 Jun 2019 12:56:06 +0500 Pirate Praveen <praveen@onenetbeyond.org> wrote:
> 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.

Fixed in 3.8.2+dfsg-2
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Reply to: