Skip to content

Commit 3c73dff

Browse files
authored
feat(checkout): CHECKOUT-8786 Disable Integrity for Local Dev (#2068)
* feat(checkout): CHECKOUT-8786 Disable Integrity for Local Dev * feat(checkout): CHECKOUT-8786 Disable definePlugin and NodeJs Caches * feat(checkout): CHECKOUT-8786 Undo Disable definePlugin and NodeJs Caches
1 parent 33dcc70 commit 3c73dff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function appConfig(options, argv) {
134134
entrypoints: true,
135135
transform: assets => transformManifest(assets, appVersion),
136136
output: 'manifest-app.json',
137-
integrity: true,
137+
integrity: isProduction,
138138
}),
139139
new BuildHookPlugin({
140140
onSuccess() {
@@ -297,7 +297,7 @@ function loaderConfig(options, argv) {
297297
entrypoints: true,
298298
transform: assets => transformManifest(assets, appVersion),
299299
output: 'manifest-loader.json',
300-
integrity: true,
300+
integrity: isProduction,
301301
done(_, { compilation: { errors = [] } }) {
302302
if (errors.length) {
303303
return;

0 commit comments

Comments
 (0)