Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix: 去掉 Babel 缓存 (#1812)
Browse files Browse the repository at this point in the history
Co-authored-by: watsonhaw <[email protected]>
  • Loading branch information
watsonhaw5566 and watsonhaw committed Jan 4, 2022
1 parent eb581e3 commit 159ae6d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/remax-cli/src/build/webpack/config.mini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export default function webpackConfig(builder: Builder): webpack.Configuration {
.options({
usePlugins: [TurboRender.preprocess(options)],
reactPreset: false,
cacheDirectory: true,
});
}

Expand Down Expand Up @@ -155,7 +154,6 @@ export default function webpackConfig(builder: Builder): webpack.Configuration {
],
reactPreset: true,
api: builder.api,
cacheDirectory: true,
compact: process.env.NODE_ENV === 'production',
})
.end()
Expand Down

0 comments on commit 159ae6d

Please sign in to comment.