You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't figure out what or where I need to change the webpacker setup to avoid compiling sourcemaps, following the webpack docs here for devtoolhttps://webpack.js.org/configuration/devtool/.
Setting it in environments.js like:
environments.devtool = 'eval'
Doesn't appear to work, neither does adding a devtool: 'eval' in the webpacker.yml file under say, the development section. Is there a proper way to to adjust sourcemap generation with Webpacker?
I've read through #769, and it seems like what I've done above should turn off sourcemaps, but nothing appears to different whether or not I add the devtool line to environments.js.
The text was updated successfully, but these errors were encountered:
@brooksco This setting is environment specific so if you don't need sourcemaps in development please set it in config/webpack/development.js (same as Rails application.rb and environments/** override)
I can't figure out what or where I need to change the webpacker setup to avoid compiling sourcemaps, following the webpack docs here for
devtool
https://webpack.js.org/configuration/devtool/.Setting it in
environments.js
like:environments.devtool = 'eval'
Doesn't appear to work, neither does adding a
devtool: 'eval'
in thewebpacker.yml
file under say, the development section. Is there a proper way to to adjust sourcemap generation with Webpacker?I've read through #769, and it seems like what I've done above should turn off sourcemaps, but nothing appears to different whether or not I add the devtool line to
environments.js
.The text was updated successfully, but these errors were encountered: