mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-20 16:49:52 +00:00
Enable source maps for prod
This commit is contained in:
parent
5bf7826ed8
commit
a38d8429da
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@ const webpack = require("webpack");
|
|||
|
||||
const cdnUrl = process.env.CDN_URL || "/";
|
||||
|
||||
config.devtool = "source-map";
|
||||
|
||||
config.plugins = (config.plugins || []).concat([
|
||||
new webpack.DefinePlugin({
|
||||
"process.env": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue