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
Hello,
first of all, thank you for sharing.
I am trying to remake my ui library from git submodule to npm package, I dicided to use rollup and I am trying to implement this setup. BUT I end on this issue:
rollup --config ./rollup.config.js --watch
rollup v1.32.1
bundles ./src/index.js → dist...
[!] (plugin rename-rollup) SyntaxError: Unexpected token (8:12)
undefined (8:12)
SyntaxError: Unexpected token (8:12)
at Object.pp$4.raise (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2840:15)
at Object.pp.unexpected (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:689:10)
at Object.pp$3.parseIdent (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2791:12)
at Object.pp$3.parsePropertyName (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2597:107)
at Object.pp$3.parseProperty (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2524:10)
at Object.pp$3.parseObj (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2478:23)
at Object.pp$3.parseExprAtom (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2239:19)
at Object.parseExprAtom (myProject/node_modules/rollup/dist/shared/node-entry.js:11811:30)
at Object.pp$3.parseExprSubscripts (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2092:21)
at Object.pp$3.parseMaybeUnary (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2069:19)
at Object.pp$3.parseExprOps (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:2013:21)
at Object.pp$3.parseMaybeConditional (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:1996:21)
at Object.pp$3.parseMaybeAssign (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:1969:21)
at Object.pp$3.parseExpression (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:1935:21)
at Object.pp$1.parseReturnStatement (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:1005:33)
at Object.pp$1.parseStatement (myProject/node_modules/rollup/node_modules/acorn/dist/acorn.js:835:37)
Could anybody give me some hint please? Thanks :)
The text was updated successfully, but these errors were encountered:
Hello,
first of all, thank you for sharing.
I am trying to remake my ui library from git submodule to npm package, I dicided to use rollup and I am trying to implement this setup. BUT I end on this issue:
Could anybody give me some hint please? Thanks :)
The text was updated successfully, but these errors were encountered: