Skip to content

Commit 8f4d82d

Browse files
committed
fixed deprecated option
in the process, improved inline comment
1 parent 68c8107 commit 8f4d82d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = (config, assetManager, { watcher, browsers, compact } = {}) =>
2929
watcher.on("edit", filepaths => {
3030
bundles.forEach(bundle => {
3131
let res = bundle.recompile(...filepaths);
32-
res && // guards against irrelevant changes
32+
res && // disregard irrelevant changes
3333
res.then(makeWriter(bundle, assetManager));
3434
});
3535
});

test/unit/test_bundling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ console.log(\`[…] $\{helper}\`); // eslint-disable-line no-console
144144
let config = [{
145145
source: "./src/lib.js",
146146
target: "./dist/bundle.js",
147-
moduleName: "MYLIB"
147+
exports: "MYLIB"
148148
}];
149149
let assetManager = new MockAssetManager(FIXTURES_DIR);
150150

0 commit comments

Comments
 (0)