Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: use @gem-mine/webpack-chain
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasOneSpanDev committed Oct 4, 2021
1 parent 9cb79a5 commit 8671430
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/neutrino/Neutrino.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const clone = require('lodash.clonedeep');
const Config = require('webpack-chain');
const Config = require('@gem-mine/webpack-chain');
const semver = require('semver');
const { isAbsolute, join } = require('path');
const { ConfigurationError } = require('./errors');
Expand Down
2 changes: 1 addition & 1 deletion packages/neutrino/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"yarn": ">=1.2.1"
},
"dependencies": {
"@gem-mine/webpack-chain": "^7.1.0",
"lodash.clonedeep": "^4.5.0",
"semver": "^7.3.4",
"webpack-chain": "^6.5.1",
"yargs-parser": "^20.2.4"
}
}
2 changes: 1 addition & 1 deletion packages/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ module.exports =
}

// Force @babel/preset-env default behavior (.browserslistrc)
if (options.targets === false) {
if (!options.targets) {
options.targets = {};
} else if (!options.targets.node && !options.targets.browsers) {
options.targets.browsers = [
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1158,6 +1158,14 @@
unique-filename "^1.1.1"
which "^1.3.1"

"@gem-mine/webpack-chain@^7.1.0":
version "7.1.0"
resolved "https://registry.yarnpkg.com/@gem-mine/webpack-chain/-/webpack-chain-7.1.0.tgz#e979459afed6298179bb16a68b076fd8a636a9aa"
integrity sha512-Jd/AdB9PsF6w2Ket58FUK7YfV00uMCOkQYCgG67IxuhHfzfJRWZp68omJa/wksvA2yngnxpDLvpwIK6liDGBeQ==
dependencies:
deepmerge "^1.5.2"
javascript-stringify "^2.0.1"

"@humanwhocodes/config-array@^0.5.0":
version "0.5.0"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9"
Expand Down Expand Up @@ -14766,14 +14774,6 @@ webidl-conversions@^6.1.0:
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514"
integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==

webpack-chain@^6.5.1:
version "6.5.1"
resolved "https://registry.yarnpkg.com/webpack-chain/-/webpack-chain-6.5.1.tgz#4f27284cbbb637e3c8fbdef43eef588d4d861206"
integrity sha512-7doO/SRtLu8q5WM0s7vPKPWX580qhi0/yBHkOxNkv50f6qB76Zy9o2wRTrrPULqYTvQlVHuvbA8v+G5ayuUDsA==
dependencies:
deepmerge "^1.5.2"
javascript-stringify "^2.0.1"

webpack-cli@^4.7.0:
version "4.8.0"
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.8.0.tgz#5fc3c8b9401d3c8a43e2afceacfa8261962338d1"
Expand Down

0 comments on commit 8671430

Please sign in to comment.