Skip to content

Commit

Permalink
Add module for background minification in a worker pool
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewML committed Aug 22, 2019
1 parent d633a0f commit a1e4341
Show file tree
Hide file tree
Showing 8 changed files with 215 additions and 70 deletions.
137 changes: 68 additions & 69 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -40,6 +40,7 @@
"@types/node": "^12.6.8",
"jest": "^24.8.0",
"prettier": "^1.18.2",
"tempy": "^0.3.0",
"ts-jest": "^24.0.2",
"typescript": "^3.5.3"
},
Expand All @@ -52,10 +53,12 @@
"fast-xml-parser": "^3.12.19",
"fromentries": "^1.1.0",
"htmlparser2": "^3.10.1",
"jest-worker": "^24.9.0",
"jsesc": "^2.5.2",
"magic-string": "^0.25.3",
"pretty-bytes": "^5.3.0",
"requirejs": "^2.3.6",
"source-map-support": "^0.5.12"
"source-map-support": "^0.5.12",
"terser": "^4.2.0"
}
}
4 changes: 4 additions & 0 deletions src/__tests__/__fixtures__/basic-minify/bundle.js
@@ -0,0 +1,4 @@
define(['a'], function(a) {
var c = console;
c.log(a);
});
6 changes: 6 additions & 0 deletions src/__tests__/__fixtures__/source-mapped-minify/bundle.js

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

0 comments on commit a1e4341

Please sign in to comment.