Skip to content

Commit

Permalink
Remove uglify build step
Browse files Browse the repository at this point in the history
  • Loading branch information
alesgenova committed Feb 10, 2021
1 parent aae05fc commit faf9ef4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import { ParentHandshake } from 'post-me';

Import __post-me__ as a script:
```html
<script src="https://unpkg.com/post-me/dist/index.min.js"></script>
<script src="https://unpkg.com/post-me/dist/index.js"></script>

<script>
const ParentHandshake = PostMe.ParentHandshake;
Expand Down
6 changes: 0 additions & 6 deletions packages/core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 3 additions & 5 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@
],
"sideEffects": false,
"scripts": {
"build": "npm run build:src && npm run build:min && npm run build:types",
"build": "npm run build:src && npm run build:types",
"build:src": "rollup -c",
"build:types": "tsc --emitDeclarationOnly",
"build:min": "uglifyjs dist/index.js -o dist/index.min.js",
"build:docs": "npm run build:types && api-extractor run --local --verbose",
"build:demo": "npm run build:src && node demo/build.js www",
"prepublishOnly": "npm run build",
Expand Down Expand Up @@ -64,8 +63,7 @@
"rollup": "^2.35.1",
"ts-jest": "^26.4.4",
"tslib": "^2.0.3",
"typescript": "^4.1.3",
"uglify-js": "^3.12.4"
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
Expand All @@ -91,4 +89,4 @@
"typescript",
"postmate"
]
}
}
6 changes: 0 additions & 6 deletions packages/mpi/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions packages/mpi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@
"rollup": "^2.35.1",
"ts-jest": "^26.4.4",
"tslib": "^2.0.3",
"typescript": "^4.1.3",
"uglify-js": "^3.12.4"
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
Expand All @@ -93,4 +92,4 @@
"back-end",
"typescript"
]
}
}

0 comments on commit faf9ef4

Please sign in to comment.