Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeless0911 committed Aug 15, 2024
1 parent 0f41f81 commit 9047db4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/cases/bundle-false/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ test('auto add extension for relative import', async () => {
'import * as __WEBPACK_EXTERNAL_MODULE__bar_js__ from "./bar.js";',
);
expect(Object.values(contents.cjs)[1]).toContain(
'var external_bar_js_namespaceObject = require("./bar.js");',
'var external_bar_cjs_namespaceObject = require("./bar.cjs");',
);
});
6 changes: 6 additions & 0 deletions e2e/cases/bundle-false/relative-import/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "bundle-false-relative-import-test",
"version": "1.0.0",
"private": true,
"type": "module"
}
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9047db4

Please sign in to comment.