summaryrefslogtreecommitdiff
path: root/tests/staticfiles_tests/project/documents/cached/module.js
diff options
context:
space:
mode:
authorJames Bligh <blighj@users.noreply.github.com>2026-03-04 14:12:06 +0000
committerJacob Walls <jacobtylerwalls@gmail.com>2026-03-04 16:15:48 -0500
commit36be97b99d4de786746a8d80bbcd41de03752df9 (patch)
tree1d2242acc6854e502ac84bf286c8d62477001350 /tests/staticfiles_tests/project/documents/cached/module.js
parent35dab0ad9ee2ed23101420cb0f253deda2818191 (diff)
Fixed #21080 -- Ignored urls inside comments during collectstatic.
Thanks Mariusz Felisiak for the review. Co-authored-by: Nathan Gaberel <nathan@gnab.fr>
Diffstat (limited to 'tests/staticfiles_tests/project/documents/cached/module.js')
-rw-r--r--tests/staticfiles_tests/project/documents/cached/module.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/staticfiles_tests/project/documents/cached/module.js b/tests/staticfiles_tests/project/documents/cached/module.js
index c56530aea6..e7e1419c5a 100644
--- a/tests/staticfiles_tests/project/documents/cached/module.js
+++ b/tests/staticfiles_tests/project/documents/cached/module.js
@@ -24,3 +24,14 @@ export {
firstVar as firstVarAlias,
secondVar as secondVarAlias
} from "./module_test.js";
+
+// ignore block comments
+/* export * from "./module_test_missing.js"; */
+/*
+import rootConst from "/static/absolute_root_missing.js";
+const dynamicModule = import("./module_test_missing.js");
+*/
+
+// ignore line comments
+// import testConst from "./module_test_missing.js";
+// const dynamicModule = import("./module_test_missing.js");