mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Use eval for webpack devtool
The source-map devtool adds a lot of time to startup, and eval works just as well for debugging.
This commit is contained in:
parent
9d6d447fc4
commit
aca5e206f7
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ routes.forEach(function (route) {
|
||||||
// Config
|
// Config
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: entry,
|
entry: entry,
|
||||||
devtool: 'source-map',
|
devtool: 'eval',
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'build'),
|
path: path.resolve(__dirname, 'build'),
|
||||||
filename: 'js/[name].bundle.js'
|
filename: 'js/[name].bundle.js'
|
||||||
|
|
Loading…
Reference in a new issue