Skip to content

Commit 898afbd

Browse files
author
Andrew Welch
committed
Use get-webpack-config package
1 parent fa7d42c commit 898afbd

File tree

4 files changed

+3
-88
lines changed

4 files changed

+3
-88
lines changed

buildchain/get-webpack-config.js

Lines changed: 0 additions & 86 deletions
This file was deleted.

buildchain/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"eslint": "^7.4.0",
7373
"eslint-plugin-vue": "^7.2.0",
7474
"file-loader": "^6.0.0",
75+
"get-webpack-config": "^1.0.0",
7576
"glob-all": "^3.1.0",
7677
"ignore-loader": "^0.1.2",
7778
"imagemin": "^7.0.0",

buildchain/webpack.dev.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
process.env.NODE_ENV = process.env.NODE_ENV || 'development';
66

77
// webpack config file helpers
8-
const { modernWebpackConfigs } = require('./get-webpack-config.js');
8+
const { modernWebpackConfigs } = require('get-webpack-config');
99

1010
// development module exports
1111
module.exports = modernWebpackConfigs(

buildchain/webpack.prod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
process.env.NODE_ENV = process.env.NODE_ENV || 'production';
66

77
// webpack config file helpers
8-
const { buildWebpackConfigs, legacyWebpackConfigs, modernWebpackConfigs } = require('./get-webpack-config.js');
8+
const { buildWebpackConfigs, legacyWebpackConfigs, modernWebpackConfigs } = require('get-webpack-config');
99

1010
// production multi-compiler module exports
1111
module.exports = [

0 commit comments

Comments
 (0)