627 Commits

Author SHA1 Message Date
Evan Wallace
7fe623e130 fix #474: remove unused import aliases 2020-11-11 03:11:17 -08:00
Evan Wallace
a370d53517 fix #510: add the "--keep-names" option 2020-11-11 02:38:13 -08:00
Evan Wallace
5cc149f9dc validate absolute paths from plugins in "file" ns 2020-11-10 20:05:40 -08:00
Evan Wallace
53ba0353bb fix #512: omit warnings for require() inside try 2020-11-10 19:11:07 -08:00
Evan Wallace
d86fb75bee now enclosing namespace ref is visit-only 2020-11-10 03:34:23 -08:00
Evan Wallace
93b338943d move the recording of exports to end of parsing 2020-11-10 01:10:08 -08:00
Evan Wallace
f352d9fa17 comment about original export star alias 2020-11-10 01:09:42 -08:00
Evan Wallace
a115c0d0cc strict parsing of typescript's "import x =" syntax 2020-11-09 21:34:42 -08:00
Evan Wallace
70678b9aba move import equals parsing to method 2020-11-09 21:34:15 -08:00
Evan Wallace
8d3195e8a2 add plugin test for unsupported regex syntax 2020-11-07 15:56:59 -08:00
Evan Wallace
24ae836607 direct "eval" only needs cjs wrapper when bundling 2020-11-07 03:20:30 -08:00
Evan Wallace
1a97642b49 direct "eval" stops tree shaking, adds cjs wrapper 2020-11-07 03:09:09 -08:00
Evan Wallace
036400bfbd cleanup after landing #504 2020-11-05 13:09:36 -08:00
David Yamnitsky
1a26747194 fix broken metafile with css import from js (#504) 2020-11-05 13:00:56 -08:00
Evan Wallace
6ec619f2a6 mark dead code inside branching expressions 2020-11-04 20:36:52 -08:00
Evan Wallace
84985562c7 forbid "delete" on import namespace properties 2020-11-03 14:10:03 -08:00
Evan Wallace
f2cdc4ebe1 allow "/..." path overrides from "tsconfig.json" 2020-11-02 23:50:38 -08:00
Evan Wallace
e6a9eeb2f5 prefer ".css" files for "@import" in css 2020-11-02 23:13:48 -08:00
Evan Wallace
68756c1f38 fix name collision with typescript namespaces 2020-11-02 18:21:21 -08:00
Evan Wallace
68fd527881 update "scripts/gen-unicode-table.js" 2020-11-02 16:53:31 -08:00
Evan Wallace
38c5be5b53 add a plugin api (#111) 2020-10-31 22:11:47 -07:00
David Yamnitsky
38d1a19675 add --outbase option (#471) 2020-10-31 17:45:55 -07:00
Evan Wallace
77cdff8778 avoid global names with unsupported escapes 2020-10-28 08:31:56 -07:00
Evan Wallace
83b307f6bd fix #293: support js expressions in global names 2020-10-28 08:15:25 -07:00
Evan Wallace
4c00b53703 remove the strict option entirely 2020-10-28 07:42:57 -07:00
Evan Wallace
aa00fff4ad remove "--strict" for "??" and "?." 2020-10-28 07:42:55 -07:00
Evan Wallace
0a1017d48e resolve dir for api no longer defaults to cwd 2020-10-28 07:41:41 -07:00
Evan Wallace
77449b55ac change default loader error message 2020-10-28 07:40:28 -07:00
Evan Wallace
d391959e17 no need to pass the base name around 2020-10-28 07:40:28 -07:00
Evan Wallace
7dd6f79054 cache files by path and namespace 2020-10-28 07:40:02 -07:00
Evan Wallace
29b9e13429 fix #489: work around safari getOwnPropDesc bugs 2020-10-28 07:02:02 -07:00
Evan Wallace
9863d70aa5 warn about "process.env.NODE_ENV" 2020-10-28 06:44:00 -07:00
Evan Wallace
e8f368cb72 fix #483: add "tsconfigRaw" to transform API 2020-10-27 19:34:34 -07:00
Evan Wallace
0f060e1a00 omit undefined values from "__publicField" 2020-10-26 01:41:47 -07:00
Evan Wallace
27903552aa fix strict class transform with computed toString 2020-10-26 01:33:13 -07:00
Evan Wallace
4ff63d5500 omit runtime in parser tests 2020-10-26 00:53:31 -07:00
Evan Wallace
d7fb41e905 warn about unknown "importsNotUsedAsValues" values 2020-10-25 20:39:53 -07:00
Evan Wallace
b136d4a37a publish 0.7.21 to npm 2020-10-25 03:19:38 -07:00
Evan Wallace
b7a11730ae use bracketed escape codes for non-BMP characters 2020-10-25 03:05:02 -07:00
Evan Wallace
8682a4639d DRY for js_parser_test.go 2020-10-25 00:54:41 -07:00
Evan Wallace
5200e9a820 fix #485: always escape U+FEFF to make IE happy 2020-10-24 20:14:13 -07:00
Evan Wallace
da972afbbb add tests for various strange css inputs 2020-10-24 05:14:05 -07:00
Evan Wallace
b5fabe99e7 fix #70: implement the "--ascii-only" flag 2020-10-24 05:14:02 -07:00
Evan Wallace
694e2cc83d improve handling of escape sequences in css tokens 2020-10-24 03:08:09 -07:00
Evan Wallace
29d6ce4762 fix panic with source map splice of "ant-design" 2020-10-20 22:43:08 -07:00
Evan Wallace
98a1c1af32 warn about assignment to "const" symbols 2020-10-20 22:26:48 -07:00
Evan Wallace
09641c18f9 fix #478: add "--avoid-tdz" workaround for safari 2020-10-20 18:12:10 -07:00
Evan Wallace
b5b3a26dad wip 2020-10-20 03:26:14 -07:00
Evan Wallace
fdf682425b fix #472: import non-enumerable properties 2020-10-20 00:31:09 -07:00
Evan Wallace
ad731744ca avoid generating "const" if target is "es5" 2020-10-20 00:04:52 -07:00