aboutsummaryrefslogtreecommitdiff
path: root/modern/craco.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/craco.config.js')
-rw-r--r--modern/craco.config.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/craco.config.js b/modern/craco.config.js
index 3e5d98e9..32971f24 100644
--- a/modern/craco.config.js
+++ b/modern/craco.config.js
@@ -1,12 +1,12 @@
module.exports = {
webpack: {
- configure: webpackConfig => {
+ configure: (webpackConfig) => {
const scopePluginIndex = webpackConfig.resolve.plugins.findIndex(
- ({ constructor }) => constructor && constructor.name === 'ModuleScopePlugin'
+ ({ constructor }) => constructor && constructor.name === 'ModuleScopePlugin',
);
webpackConfig.resolve.plugins.splice(scopePluginIndex, 1);
return webpackConfig;
- }
- }
+ },
+ },
};