Closed ranbuch closed 5 years ago
Hey, sorry for the late response. Unfortunately I'm no more using this starter because I didn't have the need to in some of the recent projects. I'm going to merge in ur PR, thx a lot for that 👏.
Other than that, you might also get some ideas from Alex Jover's setup of his TypeScript library starter: https://github.com/alexjoverm/typescript-library-starter
I'm trying to deploy my project as a third party
npm module
with ES6 support. When runningnpm run build.prod
thedist
folder contains only thebundle.js
andbundle.js.map
files.After changing the
compilerOptions
in thetsconfig.json
file by adding"declaration": true
and"allowJs": false,
and adding"include": [ "src/**/*" ]
to the file root I'm getting also*.d.ts
files but the*.ts
files are missing.I've tried to add the
files
property and specify the exact files but the result is the same, no*.ts
files are available on thedist
folder.When trying to use my
npm module
on another application withnpm install
ing it I'm getting the compilation error:my_module.ts is missing from the TypeScript compilation. Please make sure it is in your tsconfig via the 'files' or 'include' property.
How can I use this awesome boilerplate to create a third party module?