627 Commits

Author SHA1 Message Date
Evan Wallace
d989dd35e1 fix bugs with "=>" when target is "es5" 2020-10-19 23:35:09 -07:00
Evan Wallace
588fa61140 fix #469: treat package paths in css as relative 2020-10-18 21:54:19 -07:00
Evan Wallace
40c1e143de fix order of injected files 2020-10-18 00:30:07 -07:00
Evan Wallace
02c6627536 fix #451: implement "--inject" 2020-10-18 00:05:18 -07:00
Evan Wallace
f2bb75e6aa fix #459: add a "public path" option 2020-10-17 17:03:40 -07:00
Evan Wallace
3e8ceca77d fix #455: "module.require" is an alias for "require" 2020-10-16 15:13:04 -07:00
Evan Wallace
5bc08f548a avoid embedding additional files in scan phase 2020-10-16 12:00:02 -07:00
Evan Wallace
73573eaa39 fix #463: use forward slashes in source maps 2020-10-16 10:46:20 -07:00
Evan Wallace
7c84029542 Revert "fix #455: "module.require" forwards to "require""
This reverts commit 9dbe4c8793.
2020-10-16 02:08:00 -07:00
Evan Wallace
9dbe4c8793 fix #455: "module.require" forwards to "require" 2020-10-13 22:24:11 -07:00
Evan Wallace
a4f25e28e8 avoid using "sourceRoot" in source maps 2020-10-13 01:07:51 -07:00
Evan Wallace
a19eb2aa13 cleanup after landing #450 2020-10-13 00:34:15 -07:00
IU
351e7e76e7 Fix sourcemap path problem (#450) 2020-10-13 00:24:26 -07:00
Evan Wallace
2f31833b74 fix #448: support "importsNotUsedAsValues" 2020-10-12 23:45:45 -07:00
Evan Wallace
00fbd48081 fix test suites (no file-local variables in go) 2020-10-12 18:28:15 -07:00
Evan Wallace
bac750ca44 avoid cjs for most files without exports (#447) 2020-10-12 13:59:50 -07:00
Evan Wallace
877534510b lower "export * as" when target is below es2020 2020-10-10 11:19:47 -07:00
Evan Wallace
4356e316fa fix #446: bug with default+namespace imports 2020-10-10 01:18:54 -07:00
Evan Wallace
05547323c8 move api flag errors inside try/catch 2020-10-07 17:22:14 -07:00
Evan Wallace
1d9348337a fix subtle ordering issue with imports 2020-10-07 02:15:06 -07:00
Evan Wallace
048dea3675 fix #437: crash in minify and splitting edge case 2020-10-06 16:41:07 -07:00
Evan Wallace
8809415340 fix #435: parse catch clause type annotations 2020-10-06 10:17:26 -07:00
Evan Wallace
94268d4278 fix #423: ignore invalid "main" in "package.json" 2020-10-03 10:26:36 -07:00
Evan Wallace
9522ed1a4b fix #421: preserve order of commonjs imports 2020-10-03 03:14:43 -07:00
Evan Wallace
7400a260ce omit file comments if no js is included 2020-10-03 02:22:03 -07:00
Evan Wallace
58adab3ae0 move determination of cjsWrap earlier 2020-10-02 21:49:53 -07:00
Evan Wallace
32f30240cc keep exports and top-level symbols bound 2020-10-02 18:22:41 -07:00
Evan Wallace
a8f974f575 implement hsl to rgb 2020-09-30 20:50:35 -07:00
Evan Wallace
6d94ed64d2 simplify code for hex colors 2020-09-30 20:11:12 -07:00
Evan Wallace
9f40a9545c parse css colors before minifying 2020-09-30 00:54:26 -07:00
Evan Wallace
25afa74c36 lower css color syntax for older browsers 2020-09-30 00:10:15 -07:00
Evan Wallace
885ade013f replace names with hex colors when shorter 2020-09-30 00:09:39 -07:00
Evan Wallace
e48b660825 replace hex colors with names when shorter 2020-09-29 22:24:36 -07:00
Evan Wallace
0a0b1f0325 rename compat table to js compat table 2020-09-29 22:03:30 -07:00
Evan Wallace
2ba28c6729 minify some css colors 2020-09-29 22:03:28 -07:00
Evan Wallace
3a145aed67 start work on number mangling in css 2020-09-29 03:31:13 -07:00
Evan Wallace
8a62d855d8 fix panic with url() and metafile 2020-09-29 02:54:17 -07:00
Evan Wallace
5a383e5eba enable auto-external in js files too 2020-09-29 02:25:41 -07:00
Evan Wallace
911b986584 restrict auto-external in css to "//" for now 2020-09-29 02:17:59 -07:00
Evan Wallace
799db9bd51 improve error recovery for invalid syntax 2020-09-29 01:59:53 -07:00
Evan Wallace
0243998bed fix formatting of unknown rules 2020-09-29 01:34:52 -07:00
Evan Wallace
048712630f turn recoverable css errors into warnings 2020-09-29 01:17:31 -07:00
Evan Wallace
da9553fdff fix file not being copied for file loader from css 2020-09-29 01:00:04 -07:00
Evan Wallace
5b0f385394 warn about unsupported at-rules 2020-09-29 01:00:02 -07:00
Evan Wallace
33bfa8e281 avoid warning messages in tests 2020-09-29 00:39:05 -07:00
Evan Wallace
9a0958fdcc add a test for "@font-face" 2020-09-29 00:32:21 -07:00
Evan Wallace
251cdf93bc add support for "@page" 2020-09-29 00:32:21 -07:00
Evan Wallace
15425559d2 certain urls are automatically external in css 2020-09-29 00:32:21 -07:00
Evan Wallace
74b71cf226 fix #415: extract paths from css url tokens 2020-09-29 00:32:08 -07:00
Evan Wallace
d10cb700b4 decode and re-encode css strings 2020-09-28 22:50:45 -07:00