Explorar o código

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

Book Pauk %!s(int64=5) %!d(string=hai) anos
pai
achega
db8a688620
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']})
     ]
 });