Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Using Parcel 2 #1274

Closed
vladinator1000 opened this issue May 11, 2020 · 2 comments
Closed

Using Parcel 2 #1274

vladinator1000 opened this issue May 11, 2020 · 2 comments

Comments

@vladinator1000
Copy link

vladinator1000 commented May 11, 2020

💡 Feature request

I'm making a starter kit with Parcel 2 🎉 I'm trying to figure out how to get wrangler dev to support hot loading so I don't have to cancel and re-build my project every time I make a change.

Overview and problem statement

Wrangler is coupled to Webpack and this means the dev experience with bundlers other than webpack is lacking because of the lack of hot reloading. Not sure if that's a problem, it would be great to have some flexibility but I can convert back to webpack if needed.

Basic example

Check out this repo

@xtuc
Copy link
Member

xtuc commented May 12, 2020

webpack's integration offers a better UX but doens't allow using other bundlers.

I'm convienced that we can make wrangler with any bundler.
Wrangler's JavaScript type allows to deploy a single js file, which could be emited by TypeScript or Parcel. However, there's no plan to do so at the moment

@vladinator1000
Copy link
Author

Sounds good, I'll tweak my project to use webpack instead.

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

2 participants