mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 00:58:14 -05:00
Don't use eval devtool in production
This commit is contained in:
parent
ad3189c164
commit
afbc5acf42
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ routes.forEach(function (route) {
|
|||
// Config
|
||||
module.exports = {
|
||||
entry: entry,
|
||||
devtool: 'eval',
|
||||
devtool: process.env.NODE_ENV === 'production' ? 'none' : 'eval',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'build'),
|
||||
filename: 'js/[name].bundle.js'
|
||||
|
|
Loading…
Reference in a new issue