-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bundler #43
Comments
Maybe we can work to take the most time intensive pieces of existing bundlers and avoid overlapping work :) <3 webpack team :) |
yeah I'd say this should be more like webpack :^) |
@kdy1 btw, there is https://pax.js.org/ for that purpose |
@anru I were porting it, but I stuck at api design. At now, I don't have a clear idea about plugin api. |
Note: The px --es-syntax-everywhere in.js out.js |
@kdy1 if you have intention to make a bundler, our team would be happy to share our learnings and design from webpack if you find it valuable. Feel free and reach out!!!! |
I used (and tried) many build tools, but I doubt that there is a clear winner. So I want to hear various opinions about the bundlers. I want to determine the plugin api. Interop with javascript from rust is a very hard task, so I want to write it once. Can anyone here help me determining api related to the plugins? Any opinion is welcome. I think important parts of plugin api are
I'm considering something like a loader from webpack.
I have no idea. |
In my opinion, Rollup's plugin architecture and ease-of-use is much better than Webpack. I'd suggest using Rollup as inspiration on how to write a solid plugin system. See https://rollupjs.org/guide/en/#plugins-overview |
I like this suggestion as well! I do think the two serve slightly different usecases (basically libraries vs apps) primarily so perhaps building a tool that is able to work in the two modes maybe hard. I do find rollup to be an easier tool to configure and use though with its architecture so totally a better inspiration there! |
@nick-at-hawkfish @wldcordeiro Thank you guys for opinions. I really need some, but it is very hard to hear from real users. |
This could be a fun learning opportunity contributing for Rust. Thanks for the responsiveness. I'm testing this tool out with some projects and see lots of potential. 😄 |
@kdy1 You really should take @TheLarkInn up on his offer to share learnings 😄 He is on the Webpack core team, after all! |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Status
Resolve
/ Load` trait for extensibilityspack.config.js
This is a very hard part. I'm considering moving the source code of node-swc to this repository.
This is required to create the correct source map.
Need to determine plugin api.
The text was updated successfully, but these errors were encountered: