Skip to content

fix: Made it possible for windows to run yarn build#1376

Merged
kof merged 1 commit intocssinjs:masterfrom
RobertAron:windows-build-fix
Aug 2, 2020
Merged

fix: Made it possible for windows to run yarn build#1376
kof merged 1 commit intocssinjs:masterfrom
RobertAron:windows-build-fix

Conversation

@RobertAron
Copy link
Copy Markdown
Contributor

Corresponding issue (if exists):

Running yarn build on windows machines causes errors due to the way external modules are calculated. This is the error message:

(plugin size-snapshot) Error: ModuleNotFoundError: Module not found: Error: Can't resolve './Jss.js' in '/'

What would you like to add/fix?

I found another library that had the exact same problem. This PR mirrors the fix that they created.

doczjs/docz#783

@RobertAron RobertAron requested a review from HenriBeck as a code owner August 2, 2020 22:42
@kof kof merged commit 2445c6a into cssinjs:master Aug 2, 2020
@kof
Copy link
Copy Markdown
Member

kof commented Aug 2, 2020

thanks!

@kof
Copy link
Copy Markdown
Member

kof commented Aug 14, 2020

released in 10.4.0

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

Successfully merging this pull request may close these issues.

2 participants