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
From my limited web development knowledge, I understand it's common to have separate development/production configurations for webpack, as described in their official documentation here.
This is usually done with a common webpack.common.js for both configurations, and specific configuration options split between webpack.prod.js and webpack.dev.js.
In the source of the DOM delegate, there is currently only one configuration, which limits some things. For example, it uses devtool: 'inline-source-map', which is helpful during development, but generates large pages. For a a production website, it would best to disable that.
Is there any specific reasons split configurations aren't used for the DOM delegate? If not, I can spend some time to make them and update the build scripts to have dev run on npm start, and prod on npm build.
Wanted to ask just in case, to avoid doing it and having the pull request rejected.
Let me know and thank you :)
The text was updated successfully, but these errors were encountered:
Dear maintainers,
From my limited web development knowledge, I understand it's common to have separate development/production configurations for webpack, as described in their official documentation here.
This is usually done with a common
webpack.common.js
for both configurations, and specific configuration options split betweenwebpack.prod.js
andwebpack.dev.js
.In the source of the DOM delegate, there is currently only one configuration, which limits some things. For example, it uses
devtool: 'inline-source-map'
, which is helpful during development, but generates large pages. For a a production website, it would best to disable that.Is there any specific reasons split configurations aren't used for the DOM delegate? If not, I can spend some time to make them and update the build scripts to have
dev
run onnpm start
, andprod
onnpm build
.Wanted to ask just in case, to avoid doing it and having the pull request rejected.
Let me know and thank you :)
The text was updated successfully, but these errors were encountered: