Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
chore: ✨ mark as side effect free
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Kruckenberg committed Apr 16, 2020
1 parent 269e549 commit 0d2f10d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"files": [
"files"
],
Expand Down Expand Up @@ -43,5 +44,6 @@
"typedoc": "^0.17.4",
"typedoc-plugin-markdown": "^2.2.17",
"typescript": "^3.8.3"
}
},
"dependencies": {}
}
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import typescript from 'rollup-plugin-typescript2'
import { uglify } from "rollup-plugin-uglify";
import pkg from './package.json'

export default {
input: './index.ts',
output: [
Expand All @@ -12,7 +14,7 @@ export default {
file: pkg.module,
format: 'es',
sourcemap: true
},
}
],
external: [
...Object.keys(pkg.dependencies || {}),
Expand Down

0 comments on commit 0d2f10d

Please sign in to comment.