Skip to content

esModule option enable by default #1111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 17, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: enable esModule oprion by default
  • Loading branch information
cap-Bernardito committed Jul 16, 2020
commit 4539dbe97efc7f6310223862dc168d20126c56f3
4 changes: 2 additions & 2 deletions test/loader.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ describe('loader', () => {
const stats = await compile(compiler);

if (stats.compilation.modules.size) {
expect(stats.compilation.modules.size).toBe(11);
expect(stats.compilation.modules.size).toBe(10);
} else {
expect(stats.compilation.modules.length).toBe(6);
}
Expand Down Expand Up @@ -314,7 +314,7 @@ describe('loader', () => {
const stats = await compile(compiler);

if (stats.compilation.modules.size) {
expect(stats.compilation.modules.size).toBe(10);
expect(stats.compilation.modules.size).toBe(9);
} else {
expect(stats.compilation.modules.length).toBe(6);
}
Expand Down