Browse Source

Манипуляции с appcache

Book Pauk 5 years ago
parent
commit
db8a688620
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/webpack.prod.config.js

+ 1 - 1
build/webpack.prod.config.js

@@ -55,6 +55,6 @@ module.exports = merge(baseWpConfig, {
             filename: `${publicDir}/index.html`
         }),
         new CopyWebpackPlugin([{from: `${clientDir}/assets/*`, to: `${publicDir}/`, flatten: true}]),
-        //new AppCachePlugin({})
+        new AppCachePlugin({exclude: ['../index.html']})
     ]
 });