Skip to content

Commit

Permalink
Merge pull request #9218 from jasongrout/lint5
Browse files Browse the repository at this point in the history
Lint fixes
  • Loading branch information
blink1073 committed Oct 23, 2020
2 parents 06d73e5 + 6b5c629 commit 84bcb9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev_mode/webpack.config.js
Expand Up @@ -184,7 +184,7 @@ function ignored(path) {
const shared = {
...package_data.resolutions,
...singletons
}
};

// Webpack module sharing expects version numbers, so if a resolution was a
// filename, extract the right version number from what was installed
Expand All @@ -193,7 +193,7 @@ Object.keys(shared).forEach(k => {
if (typeof v === 'string' && v.startsWith('file:')) {
shared[k] = require(`${k}/package.json`).version;
}
})
});

const plugins = [
new WPPlugin.NowatchDuplicatePackageCheckerPlugin({
Expand Down

0 comments on commit 84bcb9a

Please sign in to comment.