mirror of https://github.com/embarklabs/embark.git
relocate webpack.config.js under lib/pipeline/
This commit is contained in:
parent
2e96557875
commit
e1fb746aa7
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue