mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 20:02:58 +08:00
Webpack: Do not clean webpack output on every rebuild (#23157)
This commit is contained in:
@ -94,7 +94,9 @@ module.exports = (env = {}) =>
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new CleanWebpackPlugin(),
|
||||
new CleanWebpackPlugin({
|
||||
cleanStaleWebpackAssets: false,
|
||||
}),
|
||||
env.noTsCheck
|
||||
? new webpack.DefinePlugin({}) // bogus plugin to satisfy webpack API
|
||||
: new ForkTsCheckerWebpackPlugin({
|
||||
|
Reference in New Issue
Block a user