Last active
October 6, 2019 08:20
-
-
Save stetrevor/ecb560350da08e1f17d8abdc2a05d02e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { GenerateSW } = require("workbox-webpack-plugin"); | |
| module.exports = { | |
| publicPath: process.env.NODE_ENV === "development" ? "/vuejs-pwa/" : "", | |
| configureWebpack: { | |
| plugins: [new GenerateSW()] | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment