Skip to content

Commit 72967d9

Browse files
committed
set package as sideEffects free for webpack; Removed unnecessary config option tsconfig.json
1 parent cfbf2b8 commit 72967d9

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

packages/core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"author": "Jacky Jiang <t83714@gmail.com>",
4949
"license": "MIT",
5050
"private": true,
51+
"sideEffects": false,
5152
"bugs": {
5253
"url": "https://github.com/t83714/fractal-component/issues"
5354
},

packages/core/src/tsconfig.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
{
22
"compilerOptions": {
3-
"module": "commonjs",
4-
"lib": ["es6"],
3+
"lib": ["es6", "dom"],
54
"noImplicitAny": true,
65
"noImplicitThis": true,
76
"strictNullChecks": true,
87
"strictFunctionTypes": true,
98
"noEmit": true,
10-
11-
// If the library is an external module (uses `export`), this allows your test file to import "mylib" instead of "./index".
12-
// If the library is global (cannot be imported via `import` or `require`), leave this out.
13-
"baseUrl": ".",
14-
"paths": { "mylib": ["."] }
9+
"baseUrl": "."
1510
}
1611
}

0 commit comments

Comments
 (0)