This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
Unexpected character '@' running rollup build with @open-wc/building-rollup 2.0.1 #3
Labels
bug
Something isn't working
Issue is related to #2.
I'm getting the following error when running
npm run build
.[!] (plugin rollup-plugin-import-meta-assets) SyntaxError: Unexpected character '@' (1:0) src/style/main.module.css (1:0) SyntaxError: Unexpected character '@' (1:0) at Parser.pp$4.raise (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:19740:13) at Parser.pp.getTokenFromCode (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:21402:8) at Parser.pp.readToken (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:21089:15) at Parser.pp.nextToken (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:21080:15) at Parser.parse (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:16862:8) at Function.parse (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:16913:35) at Graph.contextParse (/home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:23017:38) at Object.transform (/home/auggod/resonate/stream-pwa-lit-template/node_modules/@web/rollup-plugin-import-meta-assets/src/rollup-plugin-import-meta-assets.js:65:24) at /home/auggod/resonate/stream-pwa-lit-template/node_modules/rollup/dist/shared/rollup.js:22870:37
To reproduce this, clone #2 and install version 2.0.1 of '@open-wc/building-rollup'. I had to downgrade this package to 1.10.0.
The text was updated successfully, but these errors were encountered: