217 Commits

Author SHA1 Message Date
Evan Wallace
7215f3433a add a cache method for js plugins 2020-11-12 00:14:05 -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
8d3195e8a2 add plugin test for unsupported regex syntax 2020-11-07 15:56:59 -08:00
Evan Wallace
6e8d315a82 fix #496: add a "text" property to output files 2020-11-07 04:25:56 -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
Evan Wallace
68fd527881 update "scripts/gen-unicode-table.js" 2020-11-02 16:53:31 -08:00
Evan Wallace
aa53f080f9 attempt to fix ci on windows 2020-11-01 15:08:57 -08:00
Evan Wallace
67803d287b add tests for typescript type definitions (#499) 2020-11-01 15:04:45 -08:00
Evan Wallace
43081ce9a8 allow an empty plugin array in "buildSync" (#499) 2020-11-01 13:19:09 -08:00
Evan Wallace
05e64d6fe3 fix omission of "outbase" in js api (#471) 2020-10-31 23:03:04 -07:00
Evan Wallace
38c5be5b53 add a plugin api (#111) 2020-10-31 22:11:47 -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
2c321ef12d rename transform result "js" => "code" 2020-10-28 07:39:56 -07:00
Evan Wallace
0abb5365c8 more tests for "tsconfigRaw" 2020-10-27 20:57:17 -07:00
Evan Wallace
e8f368cb72 fix #483: add "tsconfigRaw" to transform API 2020-10-27 19:34:34 -07:00
Evan Wallace
14ac0c2bb5 expose "version" in js api 2020-10-26 01:57:03 -07:00
Evan Wallace
27903552aa fix strict class transform with computed toString 2020-10-26 01:33:13 -07:00
Evan Wallace
b7a11730ae use bracketed escape codes for non-BMP characters 2020-10-25 03:05:02 -07:00
Evan Wallace
c745f55af1 fix "charset" in try.html 2020-10-25 00:55:11 -07:00
Evan Wallace
523c9ad16b fix #485: change the default charset to ascii-only 2020-10-24 20:14:11 -07:00
Evan Wallace
da972afbbb add tests for various strange css inputs 2020-10-24 05:14:05 -07:00
Evan Wallace
8fb76e0e80 enable ".css" with "--out-extension" 2020-10-22 03:26:17 -07:00
Evan Wallace
09641c18f9 fix #478: add "--avoid-tdz" workaround for safari 2020-10-20 18:12:10 -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
Evan Wallace
d989dd35e1 fix bugs with "=>" when target is "es5" 2020-10-19 23:35:09 -07:00
Evan Wallace
dd62d98baa cleanup after #342 2020-10-18 03:30:55 -07:00
Caleb Eby
cfaedaeeb3 Add ESM build for browsers (#342) 2020-10-18 02:07:44 -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
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
eb43977e73 avoid unnecessary util.promisify 2020-10-13 22:28:51 -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
c75a3c020b remove unnecessary "mkdirp" package from tests 2020-10-13 00:38:42 -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
877534510b lower "export * as" when target is below es2020 2020-10-10 11:19:47 -07:00
Evan Wallace
d906d5f9f6 follow-up for #440/#441 2020-10-07 22:48:35 -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
9522ed1a4b fix #421: preserve order of commonjs imports 2020-10-03 03:14:43 -07:00