|
|
|
@ -75,9 +75,9 @@ module.exports = override(
|
|
|
|
|
// addWebpackPlugin(instance),
|
|
|
|
|
(config) => {
|
|
|
|
|
config.resolve.plugins = config.resolve.plugins.filter(plugin => !(plugin instanceof ModuleScopePlugin));
|
|
|
|
|
//if (process.env.NODE_ENV !== "development") {
|
|
|
|
|
// config.output.publicPath = `/react/build/`;
|
|
|
|
|
//}
|
|
|
|
|
if (process.env.NODE_ENV !== "development") {
|
|
|
|
|
config.output.publicPath = `/react/build/`;
|
|
|
|
|
}
|
|
|
|
|
return config
|
|
|
|
|
}
|
|
|
|
|
);
|