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
Switch browserify to webpack or other bundler #11366
Switch browserify to webpack or other bundler #11366
Comments
ESLint doesn't currently compile out of the box when using webpack or rollup (as far as I know). It needs some tweaking. Not really sure it's worth the change, since we only support web build for the website, and that works perfectly fine for now. But if you want to investigate - that's fine by me. |
webpack has a concept of "mode" now, which simpilifies the configuration. |
"mode" is just a bundled set of configuration settings for debugging vs. production, so I'm not sure how this is going to help. What wasn't working, as far as I remember is loading rules from the file system. |
We can generate a JavaScript file for loading rules when building with bundler. |
There is an approved PR for this change: #11398 Are we comfortable with marking this issue as accepted and merging the PR? |
Agreed. we had 5+ 👍 from the team members, and seems no objections. |
The problem you want to solve.
Browserify isn't under active development. Should we consider switching to webpack or other bundler?
This not only relates browserify only, but also other build tool. For example, we can use
babel-loader
orrollup-plugin-babel
instead ofbabelify
.Your take on the correct solution to problem.
Are you willing to submit a pull request to implement this change?
Yes.
The text was updated successfully, but these errors were encountered: