Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/le0pard/pgtune.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Vasiliev <leopard.not.a@gmail.com>2021-01-17 18:19:54 +0300
committerAlexey Vasiliev <leopard.not.a@gmail.com>2021-01-17 18:19:54 +0300
commit595f4718518825dcb22ac635d83d5c55bc2c3353 (patch)
tree24c81456215f7639953706723b34b018a3a9cf52 /webpack.config.js
parent4061fe7dc841c05371f41e7e8c2be25b00fd0b34 (diff)
add subresource integrity
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 1b1980e..3be9b48 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -190,7 +190,9 @@ config.plugins.push(
new WebpackAssetsManifest({
output: 'assets-manifest.json',
publicPath: config.output.publicPath,
- writeToDisk: true
+ writeToDisk: true,
+ integrity: true,
+ integrityHashes: ['sha256']
}),
new WorkboxPlugin.InjectManifest({
swSrc: './webpack/sw.js',