Skip to content

Commit f7640d1

Browse files
committed
TypeScript compatibility improvement
1 parent 6fb1532 commit f7640d1

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.*
22
!.eslintrc.json
33
!.eslintignore
4+
!.npmignore
45

56
/dist
67
/node_modules

.npmignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*.ts
2+
!*.d.ts
3+
.*
4+
Gemfile
5+
Gemfile.lock
6+
_develop
7+
.github
8+
.vscode
9+
docs
10+
test
11+
tsconfig.json

package.json

-14
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,6 @@
55
"author": "Jason Chen <jhchen7@gmail.com>",
66
"homepage": "http://quilljs.com",
77
"main": "dist/quill.js",
8-
"exports": {
9-
".": "./dist/quill.js",
10-
"./core": "./dist/core.js",
11-
"./blots/*": "./dist/blots/*.js",
12-
"./formats/*": "./dist/formats/*.js",
13-
"./modules/*": "./dist/modules/*.js",
14-
"./themes/*": "./dist/themes/*.js",
15-
"./ui/*": "./dist/ui/*.js",
16-
"./assets/": "./assets/"
17-
},
18-
"files": [
19-
"assets",
20-
"dist"
21-
],
228
"config": {
239
"ports": {
2410
"proxy": "9000",

tsconfig.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"compilerOptions": {
3-
"outDir": "./dist",
43
"allowSyntheticDefaultImports": true,
54
"target": "es6",
65
"sourceMap": true,

0 commit comments

Comments
 (0)