1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-15 11:44:05 +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({ typescript({
abortOnError: false, abortOnError: false,
tsconfig: `./packages/${pkg.name}/tsconfig.json`, 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 // Allow Rollup to resolve CommonJS modules, since it only resolves ES2015

View File

@@ -30,7 +30,6 @@
"keywords": [ "keywords": [
"editor", "editor",
"history", "history",
"merge",
"operation", "operation",
"redo", "redo",
"save", "save",

View File

@@ -33,7 +33,6 @@
"jsx", "jsx",
"serialize", "serialize",
"slate", "slate",
"sugar",
"xml" "xml"
] ]
} }

View File

@@ -40,7 +40,6 @@
"keywords": [ "keywords": [
"canvas", "canvas",
"contenteditable", "contenteditable",
"doc",
"docs", "docs",
"document", "document",
"edit", "edit",

View File

@@ -25,7 +25,6 @@
}, },
"keywords": [ "keywords": [
"content", "content",
"customize",
"editor", "editor",
"enforce", "enforce",
"normalize", "normalize",

View File

@@ -23,6 +23,7 @@
"keywords": [ "keywords": [
"canvas", "canvas",
"contenteditable", "contenteditable",
"custom",
"document", "document",
"edit", "edit",
"editor", "editor",