webamp/config/webpack.dev.js
2018-03-16 21:55:29 -07:00

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 }
])
]
});