feat: add deplpyement

This commit is contained in:
bartosz-lipinski 2021-03-08 00:18:40 -06:00
parent b646ee07d4
commit 3a78e670ab
1 changed files with 4 additions and 8 deletions

View File

@ -11,16 +11,12 @@ const appDirectory = fs.realpathSync(process.cwd());
const resolvePackage = relativePath => path.resolve(appDirectory, relativePath);
module.exports = {
/* webpack: {
configure: webpackConfig => {
const scopePluginIndex = webpackConfig.resolve.plugins.findIndex(
({ constructor }) =>
constructor && constructor.name === 'ModuleScopePlugin',
);
webpackConfig.resolve.plugins.splice(scopePluginIndex, 1);
webpack: {
configure: (webpackConfig, { env, paths }) => {
paths.appBuild = webpackConfig.output.path = path.resolve('./../../build/bridge');
return webpackConfig;
},
},*/
},
plugins: [
/*{
plugin: CracoBabelLoader,