Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create sourcemaps for front-end development #648

Closed
justin0022 opened this issue Aug 8, 2019 · 3 comments · May be fixed by #996
Closed

Create sourcemaps for front-end development #648

justin0022 opened this issue Aug 8, 2019 · 3 comments · May be fixed by #996
Labels
📈 enhancement New feature or request

Comments

@justin0022
Copy link
Collaborator

Currently webpack isn't generating sourcemaps so when in Chrome Devtools, it's difficult to debug since the code is transpiled.

@pushyamig
Copy link
Contributor

In webpack.config.js if I do this devtool: 'inline-source-map' it creates the resource map but the trick is we need to know if this the build is in dev or prod mode. As it is suggested not to do it for prod mode

@justin0022
Copy link
Collaborator Author

https://webpack.js.org/configuration/devtool/#production I think there's an option to disable in prod. I'll play around with the options and try to increase build speed.

@jennlove-um
Copy link
Contributor

MyLA is currently using sourcemaps, so I'm closing this issue.

MyLA-Default-Project automation moved this from To do to Review/QA Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📈 enhancement New feature or request
Projects
MyLA-Default-Project
  
Review/QA
Development

Successfully merging a pull request may close this issue.

3 participants