1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 19:01:54 +02:00

try to fix rollup ts declarations

This commit is contained in:
Ian Storm Taylor
2019-12-07 11:40:48 -05:00
parent 7fee65b87c
commit e1918a7cf4
6 changed files with 4 additions and 4 deletions

View File

@@ -45,6 +45,9 @@ function configure(pkg, env, target) {
typescript({
abortOnError: false,
tsconfig: `./packages/${pkg.name}/tsconfig.json`,
// COMPAT: Without this flag sometimes the declarations are not updated.
// clean: isProd ? true : false,
clean: true,
}),
// Allow Rollup to resolve CommonJS modules, since it only resolves ES2015