Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Fix snowpack babel error #38

Merged
merged 2 commits into from
Feb 9, 2020
Merged

Fix snowpack babel error #38

merged 2 commits into from
Feb 9, 2020

Conversation

jacobdeichert
Copy link
Owner

Which issue does this fix?

Closes #37

Describe the solution

Snowpack released 1.2.0 which changed their babel plugin logic a bit. https://github.com/pikapkg/snowpack/pull/189/files#diff-dbcfdbbaf972e7b385fa6fcb270a59d9R60

Since we use their babel plugin, this broke our babel transform step.

Fixed by using the new importMap option and specifying where to look for it.

Also locked down snowpack to a specific version to prevent future breakages. Need to bump that for every new release they do.

Snowpack released 1.2.0 which changed their babel plugin logic a bit. https://github.com/pikapkg/snowpack/pull/189/files#diff-dbcfdbbaf972e7b385fa6fcb270a59d9R60

Since we use their babel plugin, this broke our babel transform step.

Fixed by using the new `importMap` option and specifying where to look for it.
@jacobdeichert jacobdeichert merged commit 9c5c168 into master Feb 9, 2020
@jacobdeichert jacobdeichert deleted the fix-snowpack-babel-error branch March 1, 2020 04:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken with snowpack v1.2
1 participant