Skip to content

Commit

Permalink
feat: min size
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEVolk committed Jan 30, 2023
1 parent a8fa96e commit e39b2ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@
"engines": {
"node": ">=12.20.0"
},
"version": "0.2.1",
"version": "0.2.2",
"dependencies": {
"uuid": "^9.0.0",
"ws": "^8.12.0"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.0",
"@types/node": "^18.11.18",
"rimraf": "^4.1.2",
"rollup": "^3.12.0",
"rollup-plugin-typescript2": "^0.34.1",
"typescript": "^4.9.4"
},
"scripts": {
"build": "rollup --config"
"build": "rimraf lib && rollup --config"
},
"files": [
"lib/"
Expand Down
4 changes: 3 additions & 1 deletion rollup.config.js → rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import typescriptPlugin from 'rollup-plugin-typescript2';
import terser from '@rollup/plugin-terser';

export default {
input: 'src/index.ts',
plugins: [
typescriptPlugin()
typescriptPlugin(),
terser()
],
output: [
{
Expand Down

0 comments on commit e39b2ca

Please sign in to comment.