Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Updating webpack and babel configurations #683

Open
5 tasks
ishubham21 opened this issue Feb 2, 2022 · 0 comments
Open
5 tasks

Updating webpack and babel configurations #683

ishubham21 opened this issue Feb 2, 2022 · 0 comments

Comments

@ishubham21
Copy link

ishubham21 commented Feb 2, 2022

Currently, the webpack.config.js file has a lot of comments, is messed up, and is hence not ready for a production-grade application. I'd like to add/update the following stuff -

  • Create a basic configurations file (webpack.config.common.js) for both development and production.
  • Use webpack-merge to inherit the basic configurations and add on top of that in separate files for development (webpack.config.dev.js) and production (webpack.config.prod.js).
  • Combining the rules for CSS and SCSS loaders by updating the current regex and making use of style-loader
  • Adding Treser Plugin to optimize production build for easy debugging by generating a source map for the same.
  • Rewriting babel.config.js as .babelrc as the per the latest development specifications.
@ishubham21 ishubham21 changed the title Updating webpack configurations Updating webpack and babel configurations Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant