Created
October 21, 2015 12:00
-
-
Save anonymous/9a95e4ebeb7f1868e03b to your computer and use it in GitHub Desktop.
ERROR in OfflinePlugin: Something went wrong with ServiceWorker entry
This file contains 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
"use strict"; | |
var OfflinePlugin = require("offline-plugin"); | |
var path = require("path"); | |
module.exports = { | |
context: path.join(__dirname, "src"), | |
entry: { | |
app: "./index.js", | |
vendor: ["./Vendor1.js"] | |
}, | |
output: { | |
path: path.join(__dirname, "dist"), | |
filename: "[name].[chunkhash].js", | |
chunkFilename: "[name].chunck.[chunkhash].js" | |
}, | |
plugins: [ | |
new OfflinePlugin() | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment