relocate webpack.config.js under lib/pipeline/

This commit is contained in:
Michael Bradley, Jr 2018-08-17 16:47:37 -05:00
parent 2e96557875
commit e1fb746aa7
3 changed files with 2 additions and 2 deletions

View File

@ -409,7 +409,7 @@ class EmbarkController {
ejectWebpack() {
var fs = require('../lib/core/fs.js');
var dappConfig = fs.dappPath('webpack.config.js');
var embarkConfig = fs.embarkPath('webpack.config.js');
var embarkConfig = fs.embarkPath('lib/pipeline', 'webpack.config.js');
if (fs.existsSync(dappConfig)) {
console.error(`${dappConfig} ${__('already exists')}`.bold.red);
console.error(__('not overwritten, rename or re/move the file and re-run this command').yellow);

View File

@ -39,7 +39,7 @@ class WebpackProcess extends ProcessWrapper {
}
const dappConfigPath = fs.dappPath('webpack.config.js');
const defaultConfigPath = fs.embarkPath('webpack.config.js');
const defaultConfigPath = fs.embarkPath('lib/pipeline', 'webpack.config.js');
let config, configPath;
try {