mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +03:00
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
|
error: 'import', and 'export' cannot be used outside of module code
|
||
|
--> $DIR/tests/test262-parser/fail/4554c00dbb28cad8.js:1:1
|
||
|
|
|
||
|
1 | export default function () {}
|
||
|
| ^^^^^^
|
||
|
|