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