Skip to content

Commit

Permalink
Merge pull request #14 from pshihn/dev
Browse files Browse the repository at this point in the history
umd build
  • Loading branch information
pshihn authored Mar 14, 2019
2 parents c3b77e3 + db0bec5 commit 288871a
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 131 deletions.
1 change: 1 addition & 0 deletions dist/workly.umd.js

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

184 changes: 57 additions & 127 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "workly",
"version": "1.2.0",
"version": "1.3.0",
"description": "A really simple way to move a stand-alone function/class to a web worker.",
"source": "index.js",
"main": "dist/workly.umd.js",
"module": "dist/workly.m.js",
"main": "dist/workly.js",
"browser": "dist/workly.js",
"types": "dist/workly.d.ts",
"scripts": {
Expand All @@ -26,7 +26,7 @@
},
"homepage": "https://github.com/pshihn/workly#readme",
"devDependencies": {
"rollup": "^1.0.1",
"rollup-plugin-terser": "^4.0.1"
"rollup": "^1.6.0",
"rollup-plugin-terser": "^4.0.4"
}
}
9 changes: 9 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ export default [
},
plugins: [terser()]
},
{
input,
output: {
file: `dist/workly.umd.js`,
format: 'umd',
name: 'workly'
},
plugins: [terser()]
},
{
input,
output: {
Expand Down

0 comments on commit 288871a

Please sign in to comment.