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
[!] (plugin commonjs--resolver) Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
src/style.css (1:12)
1: import { foo-bar as fooBar } from "/app/src/dep.css";
^
2: const foo = fooBar + " " + "mce45f0dfb_foo"
3: const fooBar1 = "mce45f0dfb_foo-bar"
Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)
at error (/app/node_modules/rollup/dist/shared/rollup.js:198:30)
plesiecki
changed the title
[rollup] Compose class with names not valid as a JS identifier gives Error: Unexpected token
[rollup] Compose class with name not valid as a JS identifier gives Error: Unexpected tokenMay 23, 2022
Describe the bug
Hello, I think I've noticed a bug.
For case like:
build fails with an error:
Reproduction
https://glitch.com/edit/#!/truth-solstice-gazelle
Run
npx rollup -c
from terminal to see the build error.Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: