Skip to content

Commit

Permalink
build: ⚡ improve package size for production
Browse files Browse the repository at this point in the history
  • Loading branch information
Noriller committed Sep 7, 2021
1 parent d81d495 commit f17f264
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ It's as easy as this:

## Get Started

### **This is a beta release. The API won't change, but I'll be fixing the build to purge all unnecessary annotations**
### *Feel free to start using!*

### Use your choice of package manager

`npm install @noriller/easy-filter`
Expand Down
6 changes: 4 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"module": "commonjs",
"declaration": true,
"removeComments": false,
"emitDecoratorMetadata": true,
"emitDecoratorMetadata": false,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
Expand All @@ -13,7 +13,9 @@
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true
"incremental": false,
"noEmit": false,
"noEmitHelpers": false
},
"exclude": [
"src/**/*.spec.ts",
Expand Down
7 changes: 7 additions & 0 deletions tsconfig.nocomments.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"declaration": false,
"removeComments": true
}
}

0 comments on commit f17f264

Please sign in to comment.