Skip to content

Commit 3804d07

Browse files
authored
revert: Code style change
1 parent d0449ce commit 3804d07

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

packages/cli/lib/lib/webpack/webpack-client-config.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,13 @@ function getBabelEsmPlugin(config) {
120120
beforeStartExecution: (plugins, newConfig) => {
121121
const babelPlugins = newConfig.plugins;
122122
newConfig.plugins = babelPlugins.filter(plugin => {
123-
return !(
124-
Array.isArray(plugin) && plugin[0].indexOf('fast-async') !== -1
125-
);
123+
if (
124+
Array.isArray(plugin) &&
125+
plugin[0].indexOf('fast-async') !== -1
126+
) {
127+
return false;
128+
}
129+
return true;
126130
});
127131
plugins.forEach(plugin => {
128132
if (

0 commit comments

Comments
 (0)