-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
refactor(build): Pre-compile files imported from data folder #7896
refactor(build): Pre-compile files imported from data folder #7896
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it need coverage fixes now 🙃
Co-authored-by: Michael Kriese <[email protected]>
…ovate into refactor/data-files-codegen
Ha, didn't expect it will help to get rid of dependency I found problematic some time ago |
yarn.lock
Outdated
lodash._bindcallback "*" | ||
lodash._cacheindexof "*" | ||
lodash._createcache "*" | ||
lodash._getnative "*" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha, renovate yarn patch strikes again 😛
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wrong about find-up
🎉 This PR is included in version 23.97.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes:
According to microsoft/TypeScript#10939, it would be tricky to just
import example from 'example.txt''
.Thus, we're using
data/
folder for this.After this PR, we pre-compile files from this folder and import it as JavaScript
Map
.Generated file example
Context:
Ref: #7157
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: