Commit Graph

224 Commits

Author SHA1 Message Date
curbengh 679dcaf077
test: add tests for html, js, css minifiers 2019-12-26 13:19:39 +00:00
curbengh 9263366537
ci: Node 10, 12 & 13 2019-12-26 11:14:53 +00:00
curbengh 4dc883d269
ci: drop deprecated sudo option 2019-12-26 11:13:59 +00:00
curbengh 0c270a4594
release: v3.2.3 2019-12-16 08:45:28 +00:00
curbengh 7eda55a1aa perf: use + operator
instead of Array.push()
https://stackoverflow.com/a/55409094
2019-12-16 08:43:35 +00:00
curbengh 1fdac53793 style: object-shorthand
https://eslint.org/docs/rules/object-shorthand
2019-12-16 08:43:35 +00:00
curbengh 89a6dcea9e
release: v3.2.2 2019-11-09 07:26:42 +00:00
curbengh 2548eb20bf
fix(js): remove 'priority' option
- Terser really doesn't like unsupported options
- 'priority' is introduced in 887eeda3cc
2019-11-09 07:18:59 +00:00
curbengh de425e4b6f
refactor: destructure object 2019-11-09 07:16:07 +00:00
curbengh 85bfd3ba35
release: v3.2.1 2019-10-10 08:06:54 +01:00
curbengh 213700a617
fix: array should join() without a separator
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/join
2019-10-10 08:04:56 +01:00
curbengh 26b466c1bf
release: v3.2.0 2019-10-09 23:34:32 +01:00
curbengh 887eeda3cc
feat: add 'priority' options 2019-10-09 23:33:34 +01:00
curbengh 48bf9951f0
fix: join Array, instead of using first index 2019-10-06 09:24:25 +01:00
curbengh 461fe1dd41
fix: bind 'this' to error() 2019-10-06 06:33:35 +01:00
curbengh 5de4a237b7
refactor: convert Stream to Buffer using Array.push() 2019-10-06 06:32:35 +01:00
curbengh 2c5ad19932
fix: utilize hexo.log to display error message 2019-10-04 08:27:25 +01:00
curbengh 680ee73a03
release: v3.1.0 2019-09-25 08:44:30 +01:00
curbengh c2e6b898a9
Merge pull request #18 from curbengh/native-brotli
feat: support native brotli
2019-09-27 17:31:30 +09:30
curbengh e473408673
feat: support native brotli 2019-09-25 01:33:47 +01:00
curbengh 60a045e429
refactor: async/await
- https://dev.to/gafi/7-reasons-to-always-use-async-await-over-plain-promises-tutorial-4ej9
- https://stackoverflow.com/a/56975197
2019-09-25 01:14:37 +01:00
curbengh 90bfe2ca36
style: to rename 'logger' to 'verbose' 2019-09-24 23:56:44 +01:00
curbengh fd474580ce
refactor: destructure object 2019-09-24 23:55:07 +01:00
curbengh 7085b15d10
style: rename logic* to minify* or *Fn 2019-09-15 16:55:36 +01:00
curbengh b5639aba85
refactor: logger function 2019-09-15 16:51:15 +01:00
curbengh 36bca1b939
refactor: use const function 2019-09-15 16:16:53 +01:00
curbengh 9cb977e2d2
Merge pull request #17 from curbengh/options
feat: enable plugin by default and update options naming
2019-09-13 11:29:36 +09:30
curbengh ff3b07c9e2
release: v3.0.0 2019-09-11 02:48:40 +01:00
curbengh ddf4415ef0
docs: update options naming 2019-09-11 02:48:32 +01:00
curbengh 7e85bd6338
feat: enable plugin by default and update options naming 2019-09-11 02:15:19 +01:00
curbengh 2930f1da1d
release: v2.2.1 2019-08-09 11:49:15 +09:30
curbengh ede71a0857
fix: options.exclude might not exist
Fixes a6f59a9704 (r34629621)
2019-08-09 11:48:08 +09:30
curbengh b054c0a24b
docs(readme): update globOptions 2019-08-08 09:08:51 +09:30
curbengh 5b8549077f
release: v2.2.0 2019-08-06 12:06:00 +09:30
curbengh d964918d21
chore: use simpler repo value 2019-08-06 12:05:16 +09:30
curbengh 79308b2d44
Merge pull request #16 from curbengh/lint
test: lint using Javascript Standard Style
2019-08-06 12:02:41 +09:30
curbengh 32a519928a
style: standard 2019-08-06 11:57:44 +09:30
curbengh d72bb5b567 test: lint using Javascript Standard Style
https://standardjs.com/
2019-08-06 11:55:45 +09:30
curbengh 2725e230e3 chore(travis): use bionic and disable sudo 2019-08-06 11:55:45 +09:30
curbengh bbba062411 chore(travis): use newer cache syntax 2019-08-06 11:55:45 +09:30
curbengh 493683644a chore(travis): remove comment and npm install 2019-08-06 11:55:45 +09:30
curbengh 4923f5c39d
Merge pull request #15 from curbengh/basename
feat: disable basename globbing when pattern contains slash
2019-08-06 11:36:11 +09:30
curbengh a6f59a9704
feat: disable basename globbing when pattern contains slash 2019-08-06 11:26:11 +09:30
curbengh 43a316d149
refactor: use basename instead of matchBase 2019-08-06 11:23:58 +09:30
curbengh 7d06de7e79 release: v2.1.1 2019-07-18 17:34:54 +09:30
curbengh 37dac8c011 chore: update username 2019-07-18 17:34:26 +09:30
weyusi 374b24e9f4 release: v2.1.0 2019-07-10 12:17:00 +09:30
weyusi 41ecf75f71 chore: npmignore is not used 2019-07-10 12:16:01 +09:30
weyusi 5fac46455c test(snyk): remove nanomatch and add lodash 2019-07-10 12:14:21 +09:30
weyusi a75fc79e3d docs: tidy up readme 2019-07-10 12:04:37 +09:30