parcel 2 cannot build typescript project
See original GitHub issueChoose one: is this a ๐ bug report or ๐ feature request? bug report
๐ Configuration (.babelrc, package.json, cli command)
"targets": {
"browser": {
"main": "src/Main.ts",
"publicUrl": "./"
}
}
๐ค Expected Behavior
build sucessfully
๐ฏ Current Behavior
when i run parcel build src/Main.ts, itโll run , but nothing show up, and the cpu usage is about 30%, even i have waited it for half hour, still same
๐ Possible Solution
not sure
๐ฆ Context
A Typescript H5 Game
๐ป Code Sample
๐ Your Environment
Software | Version(s) |
---|---|
Parcel | 2.0.0-alpha.1.1 |
Node | 12.9.1 |
npm/Yarn | 6.11.2 |
Operating System | arch linux |
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
TypeScript - Parcel
TypeScript is a typed superset of JavaScript that compiles to JavaScript. Parcel supports TypeScript out of the box without any additional configuration.
Read more >Create a Typescript library with demo page using Parcel 2
Parcel build by default everything he needs in the dist folder until you specify another one using the --dist-dir flag.
Read more >parcel - npm
Start using parcel in your project by running `npm i parcel`. ... config JSX and TypeScript compilation, Parcel makes it easy to build...
Read more >What you need to know about Parcel 2 - LogRocket Blog
Let's look at the latest version of the JavaScript bundling tool Parcel and its new features that can help developers build faster websites....
Read more >Making Parcel Work With TypeScript - Setting up Auto ...
Let's set up auto compilation for TypeScript using Parcel as a bundler for our project. This is the easiest way to watch and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The project builds when I simplify it by removing almost everything and rendering simple โhello worldโ with react + react-dom. It seems to be failing when it has to bundle material-ui
works correctly now.