mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
7 lines
180 B
Plaintext
7 lines
180 B
Plaintext
|
error: 'import', and 'export' cannot be used outside of module code
|
||
|
--> $DIR/tests/test262-parser/fail/baddfc428e73b8b8.js:1:1
|
||
|
|
|
||
|
1 | import { a as enum } from 'foo'
|
||
|
| ^^^^^^
|
||
|
|