-
-
Notifications
You must be signed in to change notification settings - Fork 226
Closed
Description
When minifying code containing import.
(such as import.meta
), minify throws an error.
For example if you give it:
import.meta;
You get this error:
expected String, Identifier, *, or { instead of . in import statement on line 1 and column 7
1: import.meta;
^
However, similar syntax with any other identifier works fine. For example:
hellothere.meta;
produces:
hellothere.meta
I also believe the test here should be simplified from (import.meta)
to import.meta
rather than being kept the same. Is there a reason for keeping the parenthesis?
Metadata
Metadata
Assignees
Labels
No labels