Commit graph

56 commits

Author SHA1 Message Date
Isiah Meadows
232ff597a6
Switch to Terser (#2289)
1. It's actually supported
2. It's less buggy

https://twitter.com/dan_abramov/status/1060216917493981184
2018-11-09 13:55:25 -05:00
Scotty Simpson
843d7ad454 Abandon Closure Compiler in favor of UglifyES (#2285)
Moved to UglifyES, ditched async cruft, clarified responsibilities between cli & minify.

Makes for faster, more reliable, synchronous, non-Google-reliant minification.
2018-11-06 15:48:48 -05:00
Rasmus Porsager
68e412bb59 Fix #2232 - wrongly matching prop after comments ending with a dot (#2249)
* Fix #2232 - wrongly matching prop after comments ending with a dot

* Avoid matching urls `://`
2018-10-14 16:32:28 -04:00
ᴙɘɘᴙgYmɘᴙɘj
385458aadd Exit process with error on bundler errors (#2240) (#2244)
* Exit process with error on bundler errors (#2240)

Setting the errorCode within bundle.js does not change the exit code
when called with cli.js.  This moves the outer `try...catch` from
bundle.js to the `bundle` call in cli.js, so it can set the exit code.

* Lint

* Allow bundler to throw on error
2018-10-10 13:29:14 -04:00
Már Örlygsson
f375bdc02e fix: Bundler tests only pass when run from project root 2018-04-22 00:50:09 +02:00
Pat Cavit
efb0e94d99
fix: closure compiler requires HTTPS now (#2007)
Also barfing out the response from the server when JSON parsing errors happen
2017-10-28 22:57:52 -07:00
Pat Cavit
482f0e71b9 docs: readme rework (#1898) 2017-07-12 20:34:45 -07:00
Gyandeep Singh
daf5a64697 Chore: Fix lint issues and add indent with tabs 2017-03-11 15:54:41 -06:00
Isiah Meadows
c90bf5ac2d Fix a few syntax errors 2017-03-09 12:29:04 -05:00
Isiah Meadows
934e0ac55e Merge branch 'next' into strict-mode 2017-03-09 11:54:32 -05:00
Pierre-Yves Gerardy
c3d015be28 IICE => IIFE 2017-03-04 23:24:21 +01:00
Isiah Meadows
1cc5fa5ba7 "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
Leo Horie
9ad16858a5 #1520 ospec: report duplicate test names 2017-01-08 13:05:27 -05:00
Leo Horie
1fe4a08e71 lint 2016-12-02 22:03:23 -05:00
Leo Horie
713c25c9c0 fix #1404 2016-12-01 01:45:07 -05:00
Leo Horie
94804356fe bundler: throw error correctly when there's syntax error 2016-11-24 20:46:17 -05:00
Pat Cavit
93a130b8b4 Update README size w/ minified builds 2016-11-16 00:27:51 -08:00
Leo Horie
c3d856e139 allow a["b"] = require(...) in bundler 2016-11-16 00:09:41 -05:00
Leo Horie
9d4bb1291e expose aggressive mode in minifier 2016-11-15 10:16:30 -05:00
Leo Horie
bc8cf4ed76 change m.request return value from stream to promise
remove m.prop
add m.Promise
update tests and examples
2016-11-13 22:44:22 -05:00
Leo Horie
0edc374729 write to bundle if first time 2016-10-27 10:29:08 -04:00
Leo Horie
f4e88a6879 don re-emit if not needed 2016-10-27 10:26:23 -04:00
Leo Horie
56129f7102 move lint script 2016-10-26 23:57:58 -04:00
Leo Horie
72de37f98b change line endings - step 2 2016-10-26 15:24:08 -04:00
Leo Horie
00abe297df change line endings, step 1 2016-10-26 15:23:19 -04:00
Leo Horie
819d172269 expose bundler shortcut 2016-10-26 09:44:10 -04:00
Leo Horie
8c5fd9ec25 lint 2016-09-23 22:49:20 -04:00
Leo Horie
b8ef290acd improved bundler, handle width/height atts 2016-09-23 10:31:33 -04:00
Leo Horie
ee27a8bab8 fix typo in comment 2016-08-24 01:20:27 -04:00
Leo Horie
ec07d76fcd m.fragment docs
public api tests
2016-08-24 00:26:15 -04:00
Leo Horie
8c9cc0e1f4 lint docs 2016-08-17 09:09:45 -04:00
Leo Horie
6c3036e5c6 fix event removal in diff
fix CI
2016-08-12 22:08:02 -04:00
Leo Horie
fc9d4f2ee4 fix "use strict" detection in bundler 2016-08-12 01:00:20 -04:00
Leo Horie
15b6ff8c8b don't stop watching if watch api returns no file name 2016-08-12 00:43:48 -04:00
Leo Horie
9bd0cd73fc inline Date.now, remove redundant comment 2016-07-30 14:55:34 -04:00
Pat Cavit
16c892037b Require tighter collision checking 2016-07-29 23:52:22 -07:00
Leo Horie
40b2053895 more bundler fixes 2016-07-30 00:48:23 -04:00
Leo Horie
d0851f8a3b handle globals in bundler 2016-07-30 00:05:00 -04:00
Leo Horie
7c736b511a rename node to vnode 2016-07-29 22:04:04 -04:00
Leo Horie
91a492b2e8 fix node module resolution in bundler 2016-07-28 23:22:37 -04:00
Leo Horie
640b19228a improve bundler 2016-07-28 22:35:22 -04:00
Leo Horie
6e3ce0aeb5 rebuild 2016-06-24 16:02:01 -04:00
Leo Horie
89492a4956 modularize bundler and minify scripts 2016-06-23 01:10:30 -04:00
Leo Horie
639967c767 lint docs 2016-06-20 23:35:43 -04:00
Leo Horie
92d9e93ee1 let bundler resolve npm deps 2016-06-20 23:08:43 -04:00
Leo Horie
bce2abbffd Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	docs/keys.md
	docs/signatures.md
	docs/v1.x-migration.md
	index.js
	ospec/bin/ospec.cmd
	request/request.js
	request/tests/test-xhr.js
	util/prop.js
	util/tests/index.html
	util/tests/test-prop.js
2016-06-20 09:34:14 -04:00
Leo Horie
94a8be4fca versioning script 2016-06-20 09:19:43 -04:00
Leo Horie
8594ed3ef1 lintdocs and minify scripts 2016-06-20 09:19:30 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
749b952392 clean up index.js 2016-05-21 00:48:58 -04:00