type declaration can't be shipped into the dist folder -- can't repro
See original GitHub issueWhat happens and why it is wrong
Environment
Versions
- typescript: newest
- rollup: newest
- rollup-plugin-typescript2: newest
rollup.config.js
tsconfig.json
package.json
plugin output with verbosity 3
repository
https://github.com/zzzgit/sample
problem
- when using
tsc
command to compile the project, it works fine - when using
npm run build
to compile it, declaration files won’t be bundled to thedist
folder
I can’t find the cause to this problem.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Maintain src/ folder structure when building to dist
The underlying reason is that one of my source files require d package.json at the root of the project. Once I removed that,...
Read more >or its corresponding type declarations - You.com - You.com
The "Cannot find module or its corresponding type declarations" error occurs when TypeScript cannot locate a third-party or local module in our project....
Read more >Pipelines – script is not generating dist folder or it's not visible
Hello! I'm trying to use Bitbucket Pipelines to deploy my Nuxt.js based web app. Below there is my bitbucket pipelines config: image :...
Read more >2 Server Error Message Reference - MySQL :: Developer Zone
Example server-side error message sent to client programs, as displayed by the mysql ... Message: Can't write, because of unique constraint, to table...
Read more >User Manual - rust-analyzer
The LSP allows various code editors, like VS Code, Emacs or Vim, to implement semantic features like completion or goto definition by talking...
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 FreeTop 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
Top GitHub Comments
Works for me, I see all d.ts files in
built/t
folder (as specified in tsconfig)You don’t seem to be using this plugin? (looking at your sample repo)