mirror of
https://github.com/captbaritone/webamp
synced 2024-11-23 00:34:42 +00:00
19 lines
526 B
JavaScript
19 lines
526 B
JavaScript
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, {
|
|
devtool: "source-map",
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
SENTRY_DSN: JSON.stringify(
|
|
"https://c8c64ef822f54240901bc64f88c234d8@sentry.io/146022"
|
|
)
|
|
}),
|
|
new CopyWebpackPlugin([
|
|
{ from: "js/dev-service-worker.js", to: "service-worker.js", force: true }
|
|
])
|
|
]
|
|
});
|