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

Remove webpack usage #47

Closed
btzr-io opened this issue Oct 18, 2019 · 7 comments
Closed

Remove webpack usage #47

btzr-io opened this issue Oct 18, 2019 · 7 comments

Comments

@btzr-io
Copy link
Owner

btzr-io commented Oct 18, 2019

Currently we use webpack to run the dev server and rollup to build the production module.
So we have two different config files and both are required to be on sync and be compatible with each other.

Is there anyway to just use rollup and discard web-pack ?

Well there is this, but, web-pack has react-hot-loader implemented, so not sure if this is possible:
https://github.com/thgh/rollup-plugin-serve

@btzr-io
Copy link
Owner Author

btzr-io commented Oct 18, 2019

Looks like rollup don't support HMR ? 🙃

@DaniAcu
Copy link
Contributor

DaniAcu commented Oct 18, 2019

Maybe we could use rollup-plugin-server with rollup-plugin-livereload(or rollup-plugin-hotreload). What do you think?

@btzr-io
Copy link
Owner Author

btzr-io commented Oct 18, 2019

@DaniAcu will it work well with react ?

@DaniAcu
Copy link
Contributor

DaniAcu commented Oct 18, 2019

Let me try

@btzr-io
Copy link
Owner Author

btzr-io commented Oct 18, 2019

@DaniAcu well if is efficient for development as the webapck-dev server go ahead, thanks ✌️

@DaniAcu
Copy link
Contributor

DaniAcu commented Oct 19, 2019

It's little tricky to do, but I will continue to research how to do

@btzr-io
Copy link
Owner Author

btzr-io commented Aug 5, 2022

We now use nollup for v2.0.0 https://github.com/PepsRyuu/nollup

@btzr-io btzr-io closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants