Skip to content

Commit

Permalink
Compile to es6 and set sideEffects: false to enable tree shaking of i…
Browse files Browse the repository at this point in the history
…cons (#970)
  • Loading branch information
andnorda committed Feb 2, 2021
1 parent a816cae commit 2f4f652
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion @navikt/ds-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@
"lodash.startcase": "4.4.0",
"react": "^16.8.0 || ^17.0.0",
"rimraf": "3.0.2"
}
},
"sideEffects": false
}
1 change: 1 addition & 0 deletions @navikt/ds-icons/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../utilities/build/tsconfig-pakker.json",
"compilerOptions": {
"module": "ES6",
"outDir": "./lib",
"rootDir": "./src",
"esModuleInterop": true,
Expand Down

0 comments on commit 2f4f652

Please sign in to comment.