index
:
tracifyjs
apprentice
templatifyjs
Reverse engineer's tool for tracing the flow of data in JS program, based on UglifyJS
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test
/
compress
/
imports.js
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
2020-07-25
gnu: mpg123: Update to 1.26.3.
...
Tobias Geerinckx-Rice
3ba017ce65b261d15ed3098ae40c3b2a1b'>Diffstat (limited to 'test/compress/imports.js')
-rw-r--r--
test/compress/imports.js
7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/compress/imports.js b/test/compress/imports.js
index cdc239cd..03ebf997 100644
--- a/
test/compress/imports.js
+++ b/
test/compress/imports.js
@@ -47,6 +47,13 @@ dynamic: {
expect_exact: '(async a=>await import(a))("foo").then(bar);'
}
+dynamic_nought: {
+ input: {
+ import(foo);
+ }
+ expect_exact: "import(foo);"
+}
+
import_meta: {
input: {
console.log(import.meta, import.meta.url);