GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #7060 from webpack/test/any-comment-in-import · webpack/webpack@0ff2901

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/cases/parsing/comment-in-import
    • index.js
    • module.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/cases/parsing/comment-in-import/index.js‎

Copy file name to clipboard
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
it("should allow random comments in import()", () => {
2+
return Promise.all([
3+
import(/* hello world */ "./module"),
4+
import(/* }); */ "./module"),
5+
import(/* test */ "./module"),
6+
import(/* 1234 */ "./module")
7+
]);
8+
});
Collapse file

‎test/cases/parsing/comment-in-import/module.js‎

Copy file name to clipboardExpand all lines: test/cases/parsing/comment-in-import/module.js
Whitespace-only changes.

0 commit comments

Comments
0 (0)
You are visitor 01402605 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.