Open OliverJAsh opened 3 years ago
yarn build
Declarations should be consistent and correct.
They are not consistent because of a cache, provided by rollup-plugin-typescript2.
rollup-plugin-typescript2
To workaround this, always run this before building:
rm -rf node_modules/.cache/rollup-plugin-typescript2/
This is another reason to ditch tsdx.
tsdx
You can make even more of a workaround by changing the build script in package.json to rm -rf node_modules/.cache/rollup-plugin-typescript2/ && tsdx build so you don't forget
package.json
rm -rf node_modules/.cache/rollup-plugin-typescript2/ && tsdx build
Steps to Reproduce
yarn build
Observed Behaviour
Declarations should be consistent and correct.
Expected Behaviour
They are not consistent because of a cache, provided by
rollup-plugin-typescript2
.Technical Notes
To workaround this, always run this before building:
This is another reason to ditch
tsdx
.