mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-31 10:51:44 +02:00
try to fix rollup ts declarations
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user