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

[Deprecation] Snowpack will natively support this soon #14

Open
TylorS opened this issue Apr 2, 2021 · 3 comments
Open

[Deprecation] Snowpack will natively support this soon #14

TylorS opened this issue Apr 2, 2021 · 3 comments

Comments

@TylorS
Copy link
Owner

TylorS commented Apr 2, 2021

I just wanted to make it clear that as soon as Snowpack gains the support of the latest releases of ESBuild this should no longer be required. With this PR - evanw/esbuild#1001 - ESBuild now supports content hashing natively.

Once snowpack adds support for this feature, I intend to deprecate this project. However, @typed/content-hash will continue to live on as an independent content hashing library from NPM.

@sebastienbarre
Copy link

Hi @TylorS -- I was wondering if you got this to work with ESBuild native support, by forcing Snowpack to use a more recent version in package.json (yarn only I'm afraid):

"resolutions": {
    "esbuild": "^0.12"
  }

I'm not exactly sure how to pass the corresponding option to esbuild...
Thanks

@TylorS
Copy link
Owner Author

TylorS commented Oct 18, 2021

Hey @sebastienbarre, I haven't really used snowpack in a little while. I've switched most of my work projects over to utilize Vite before snowpack reached v1 because I was encountering a number of bugs at that time (they may be fixed by now).

If you figure it out, it'd be great to post it back here for any others that might be wondering the same things

@sebastienbarre
Copy link

Thanks. Yes, snowpack is still rough, I should give a shot to Vite. I think back in the days Vite was focused on building Vue.js stuff, and I am using React. But it seems to support React too now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants