mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Add dummy service-worker.js
This commit is contained in:
parent
ce0d80b079
commit
95cad890e9
4 changed files with 263 additions and 7 deletions
|
|
@ -1,5 +1,6 @@
|
|||
const webpack = require("webpack");
|
||||
const merge = require("webpack-merge");
|
||||
const CopyWebpackPlugin = require("copy-webpack-plugin");
|
||||
const common = require("./webpack.common.js");
|
||||
|
||||
module.exports = merge(common, {
|
||||
|
|
@ -9,6 +10,9 @@ module.exports = merge(common, {
|
|||
SENTRY_DSN: JSON.stringify(
|
||||
"https://c8c64ef822f54240901bc64f88c234d8@sentry.io/146022"
|
||||
)
|
||||
})
|
||||
}),
|
||||
new CopyWebpackPlugin([
|
||||
{ from: "js/dev-service-worker.js", to: "service-worker.js", force: true }
|
||||
])
|
||||
]
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue