Skip to content

Commit

Permalink
Upgrade esm and use force option
Browse files Browse the repository at this point in the history
This ensures user settings don't leak into our use of esm.
  • Loading branch information
novemberborn committed Jul 15, 2018
1 parent d5dd981 commit 6b6aa06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions lib/load-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function loadConfig(defaults = {}) {
try {
({default: fileConf = MISSING_DEFAULT_EXPORT} = esm(module, {
cjs: false,
force: true,
mode: 'all'
})(path.join(projectDir, 'ava.config.js')));
} catch (err) {
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"empower-core": "^0.6.1",
"equal-length": "^1.0.0",
"escape-string-regexp": "^1.0.5",
"esm": "^3.0.40",
"esm": "^3.0.71",
"figures": "^2.0.0",
"get-port": "^3.2.0",
"globby": "^7.1.1",
Expand Down

0 comments on commit 6b6aa06

Please sign in to comment.