FountainJS / generator-fountain-webpack

Yeoman 'fountain' generator which handle the Webpack config
http://fountainjs.io
MIT License
4 stars 6 forks source link

Set devtool conf with 'source-map' #56

Closed nicolaspayot closed 8 years ago

nicolaspayot commented 8 years ago

Here's a proposal to change devtool conf from cheap-eval-source-map with source-map:

Source file doesn't seem to be found with cheap-eval-source-map as shown on the screenshot:

cheap-eval-source-map

whereas it's correctly working with source-map:

source-map

Swiip commented 8 years ago

I change this conf myself in every project I generate... It's slower but needed.

getglad commented 8 years ago

I would suggest cheap-source-map - if I am reading the docs correctly, it should run faster.

https://webpack.github.io/docs/configuration.html#devtool

Swiip commented 8 years ago

Faster yes, but there is a trade off between speed and quality. Previous configuration was the fastest but was really bad