Ver código fonte

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

Book Pauk 5 anos atrás
pai
commit
db8a688620
1 arquivos alterados com 1 adições e 1 exclusões
  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']})
     ]
 });