File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ let babelConfig;
1010let postcssConfig ;
1111
1212// Check if custom babel config is available.
13- if ( fs . existsSync ( './config/babel.config.js ' ) ) {
14- babelConfig = './config/babel.config.js ' ;
13+ if ( fs . existsSync ( './config/emulsify-core/webpack/ babel.config.cjs ' ) ) {
14+ babelConfig = './config/emulsify-core/webpack/ babel.config.cjs ' ;
1515} else {
1616 babelConfig = './node_modules/@emulsify/core/config/babel.config.js' ;
1717}
1818
1919// Check if custom postcss config is available.
20- if ( fs . existsSync ( './config/postcss.config.js ' ) ) {
21- postcssConfig = './config/postcss.config.js ' ;
20+ if ( fs . existsSync ( './config/emulsify-core/webpack/ postcss.config.cjs ' ) ) {
21+ postcssConfig = './config/emulsify-core/webpack/ postcss.config.cjs ' ;
2222} else {
2323 postcssConfig = './node_modules/@emulsify/core/config/postcss.config.js' ;
2424}
You can’t perform that action at this time.
0 commit comments