Comments (6)
Also it seems that you should be using both createIncrementalProgram and createIncrementalCompilerHost in order to avoid the tsbuildinfo file to be ignore as explained here
According to the release notes
You seem to be missing the createIncrementalCompilerHost usage at https://github.com/Floffah/esbuild-plugin-d.ts/blob/master/src/plugin.ts#L61
I'll add these when I get time to implement the automatic tsbuildinfo system
from esbuild-plugin-d.ts.
I think the main cause for this is that I made a method that turns this on automatically and that may be messing with it. Ill have a look
from esbuild-plugin-d.ts.
I think the main cause for this is that I made a method that turns this on automatically and that may be messing with it. Ill have a look!
I might be wrong but I feel this could be a huge improvement for performances in our monorepo.
from esbuild-plugin-d.ts.
I might be wrong but I feel this could be a huge improvement for performances in our monorepo.
I agree, for a monorepo this may be very benefitial.
I had a look and it seems to do it here https://github.com/Floffah/esbuild-plugin-d.ts/blob/master/src/plugin.ts#L50-L58 if it is able to find your package.json although this may be broken and may be worth removing or making it toggleable.
I will make a new release with these fixes soon
from esbuild-plugin-d.ts.
Also it seems that you should be using both createIncrementalProgram and createIncrementalCompilerHost in order to avoid the tsbuildinfo file to be ignore as explained here
According to the release notes
You seem to be missing the createIncrementalCompilerHost usage at https://github.com/Floffah/esbuild-plugin-d.ts/blob/master/src/plugin.ts#L61
from esbuild-plugin-d.ts.
Took a while to get round to it but I have switched to incremental programs and hosts and saw the build time for the test go down to 50ms. Let me know if this broke anything after installing 1.1.0
from esbuild-plugin-d.ts.
Related Issues (7)
- i only generate .d.ts files when i switch the option "declarationMap" ; HOT 1
- declarationDir or outDir does not work HOT 2
- Compiler options from extended tsconfig are being ignored HOT 15
- bug: Sometimes it doesn’t generate dts correctly, I’m not sure what happened, but obviously something went wrong HOT 4
- d.ts files not built on repeated build runs HOT 9
- [plugin: dts-plugin] No config file found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esbuild-plugin-d.ts.