-
Notifications
You must be signed in to change notification settings - Fork 2.2k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Type Script usage #4175
Comments
You should not consume the typescript You should consume Blueprint (and any other TS-authored library) through its |
Thank you for the fast reply. My question comes from having a similar issue #4112 (comment) Case: Type Script is used, Babel isn't used, Webpack is used, arbitrary 3d party libraries are used. Solutions I have:
Both solutions are not looking good. What would be your recommendation? |
Why do you need the es2017 version of Blueprint? Why not use the contents of the |
Now that you asking, I'm suspicious if I did something wrong last time.
Are you saying that I should add "module" field to the package.json of my project? |
No, sorry if this was unclear. The "module" field is specified by the libraries you depend on, like
It should "just work" out of the box with latest webpack. It depends on the rest of your build system and configuration. Are you using create-react-app? Do you have a repo on github you can demo with? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Environment
Bluepring v3, Core
Mac, Webpack
Question
I see that by default Webpack is not using type script version of the blueprint but esm output of that
Is it possible to consume typescript version of the library from node_modules?
If Yes. What would be the right configuration or steps?
If not @blueprint npm/yarn package but the source is used what is the best practice to connect it to a project?
The text was updated successfully, but these errors were encountered: