Commit Graph

124 Commits

Author SHA1 Message Date
Jarred Sumner
a0b6892c09 Good enough for now solution to symbol collision 2021-09-13 02:53:18 -07:00
Jarred Sumner
359df89fe3 Fix "browser" map resolution, _almost_ fix symbol collisions, cache absolute paths for file entries 2021-09-12 23:40:12 -07:00
Jarred Sumner
350569655b Support bundling dynamically imported modules. 2021-09-12 00:39:57 -07:00
Jarred Sumner
57ca04444b Fix symbol collisions for JSX & React Refresh. Choose a JSX identifier based on the user's JSX import source 2021-09-12 00:37:13 -07:00
Jarred Sumner
125d88bd65 bun:error.js into separate module, ensure we don't include fast refresh in Bun.js, log build errors to browser console, don't warn for node_modules, 2021-09-11 01:48:23 -07:00
Jarred Sumner
6f2554b13a Tweaks 2021-09-10 13:41:24 -07:00
Jarred Sumner
fc907e2f81 current 2021-09-09 23:33:34 -07:00
Jarred Sumner
1d1a70c21f WIP error css
Former-commit-id: 36f03bf491cf274f68361e334a706538464ee271
2021-09-07 03:21:58 -07:00
Jarred Sumner
a90760b597 Fix logging in bun bun + bump
Former-commit-id: 19275a07342879d9b02b9d9527b762c8bfadb9e6
2021-09-03 13:01:36 -07:00
Jarred Sumner
f23d7c5259 Fix bug with spread properties in function arguments
Former-commit-id: 661fa35a8a0fbd9277682f6bd31cdf85c29481af
2021-09-02 19:24:35 -07:00
Jarred Sumner
2fa09f7c09 Fix UMD, fix PNPM, importing require'd modules in app code
Former-commit-id: 3d831ad95904d2123964f2ebccff48f1e9f954e9
2021-09-02 11:51:52 -07:00
Jarred Sumner
4b7917ba8f latest
Former-commit-id: 20b96180ffc41610dfb21a041d1258f2ff8d4196
2021-09-01 14:00:46 -07:00
Jarred Sumner
e2b9f23231 Add display name field to frameworks, improve logging, add counters, add
Former-commit-id: b2cf011b6c6405a786fe22367e1cd4e6c2c4c90f
2021-08-31 23:07:03 -07:00
Jarred Sumner
78e1144ca5 Fix JSX fragments bug, fix unnamed export default bug
Former-commit-id: a48965cb80b713f72a859cd16c2a1b670c75d731
2021-08-31 21:38:05 -07:00
Jarred Sumner
6a5f34a6bc Fallback, fragments, printer compat, better errors
Former-commit-id: 486e8c9d460eeebea024e96dbabcb7f2bfaffafb
2021-08-31 15:03:40 -07:00
Jarred Sumner
bd9f137b1b latest
Former-commit-id: 096ec1222ad723d006b0151f10cb0c1b95e2bfd3
2021-08-29 21:48:14 -07:00
Jarred Sumner
65ea600b55 Fix unused imports
Former-commit-id: 7cbafbc9bddb77f8a1e65b084ff5942ed7ef1133
2021-08-27 18:20:02 -07:00
Jarred Sumner
c8f2def7c4 Fix missing RefreshRuntime import
Former-commit-id: 3b27a2cb502325f8c9ef0ae95f6bfaf5d4c9accd
2021-08-27 18:19:22 -07:00
Jarred Sumner
eba7b8b51e Always import runtime before JSX
Former-commit-id: efe0fb5edf07efa7f04ec379c2d319875b53ed87
2021-08-27 18:19:01 -07:00
Jarred Sumner
4e3dd3aadc Skip unused
Former-commit-id: 82de54e123f629bf3ca17df6d10151b32efb2409
2021-08-27 18:16:57 -07:00
Jarred Sumner
92229ac0f6 Fix unbundled imports
Former-commit-id: f221da115c1afcd136648c9683d8e9907005a128
2021-08-26 21:43:42 -07:00
Jarred Sumner
4541606469 latest
Former-commit-id: f5600d123d3710e7ea80ff2b7c66d13382462420
2021-08-25 17:56:06 -07:00
Jarred Sumner
afb6684782 Fix resolve bug with mixed-case node_modules
Former-commit-id: 5bdae0ee491e28b49ceed6136f04e0c1feddc808
2021-08-23 02:30:30 -07:00
Jarred Sumner
c92c7beece Log level + onimportcss
Former-commit-id: 12ba9b9bc288573e3a5099adfa14c486c4cc980c
2021-08-19 00:44:44 -07:00
Jarred Sumner
06ef8cf9eb static
Former-commit-id: 1da09a997008e246955167b79883b958e23f0d78
2021-08-17 17:47:19 -07:00
Jarred Sumner
3b6259edf3 fix jsx
Former-commit-id: a9bfcbce261798cdd0c3f8cb09076dc246920b48
2021-08-17 15:25:36 -07:00
Jarred Sumner
ca6514c77c Fix JSX runtime when children are 0
Former-commit-id: 094913a99f22888b97696aabe12fc1a5452788d6
2021-08-17 04:09:02 -07:00
Jarred Sumner
574be79253 alright thats the rename
Former-commit-id: 0faf61249e76382dfb1aa8721249474eae920753
2021-08-17 01:44:30 -07:00
Jarred Sumner
2335780618 rename to bun
Former-commit-id: f982fc85fac3f0120e1851ad4027dd8413216439
2021-08-15 22:17:20 -07:00
Jarred Sumner
41260ecd18 Support multiple route dirs, fix bundling JSX, fix cjs bug, remove warning about unbundled modules in speedy env,
Former-commit-id: ae718dbd05397bed9bc49a77fae20de70b635e82
2021-08-15 21:48:56 -07:00
Jarred Sumner
16c7674304 lots
Former-commit-id: 0b8128cb3b4db02f9d33331b4c2c1b595156e6c8
2021-08-14 02:39:44 -07:00
Jarred Sumner
f59892f647 late
Former-commit-id: 1d598bb05a3bac62d86063125e1fe2962f0b5cc6
2021-08-13 02:01:41 -07:00
Jarred Sumner
160f83cf9e When there are errors while generating the .jsb, fail the build.
Former-commit-id: 734f021602ac59aeaef9d7583a927ede94ab644a
2021-08-11 21:46:23 -07:00
Jarred Sumner
3e0a78bc0d Fix parser/printer bugs
Former-commit-id: 8d5fa093546432e803eb066190a3b4b48e5c95f2
2021-08-11 20:22:03 -07:00
Jarred Sumner
70912ec46f Fix incorrect error generated for shorthand properties with initializers
Former-commit-id: 3637987b9ba42805c60ed664769e8fc46fa524f1
2021-08-11 16:22:48 -07:00
Jarred Sumner
3c6d687423 Fix missing check for is_async in shorthand property check
Former-commit-id: 8f2f739bcb303e0ca42853097449133a1630debe
2021-08-11 16:22:08 -07:00
Jarred Sumner
c3c14ff9ce Fix two parser bugs
Former-commit-id: 884b0e3e31e562e4f0e0676819c442842ba9040b
2021-08-11 15:54:15 -07:00
Jarred Sumner
3b0a19efe0 Fix crash when require and import are on the same line
Former-commit-id: 215b03322953ea41de93c5c3c368554d1ab12e92
2021-08-11 14:10:05 -07:00
Jarred Sumner
10b4b872a2 This is alot
Former-commit-id: 4b2a396611ec03270dc768b70e488b0f5eee2a37
2021-08-10 18:26:16 -07:00
Jarred Sumner
33832aa887 Fix infinite loop when class statements are missing an identifier. This may expose a larger issue. We used to panic on lexer errors, but we don't anymore.
Former-commit-id: f4e14ece75b3d381798e317a45833ffa929e900f
2021-08-08 14:17:14 -07:00
Jarred Sumner
063ac7dce5 Fix export default in HMR
Former-commit-id: 4eb1220c53ec179ed40081a3d50a5248ae013af3
2021-08-08 14:16:01 -07:00
Jarred Sumner
e490577a7d More correctly choose the export_default default_name
Former-commit-id: 8b32f4c91e543b9cebba5b5cdd90fa705f471cd4
2021-08-08 14:03:44 -07:00
Jarred Sumner
dbad798c92 eqlComptime
Former-commit-id: 37aaab196be93693511180f50f14618e9eb64312
2021-08-08 14:02:40 -07:00
Jarred Sumner
340982e58a Fix HMR undefined memory bug when the file doesn't import or export from anything
Former-commit-id: affb0a3580ba137f217ccbdb336f56c0d9948ee8
2021-08-04 12:18:02 -07:00
Jarred Sumner
85b6d448ce hm
Former-commit-id: 0dc1c1a74b845d037326f4f2facd786924ca722e
2021-08-01 19:04:38 -07:00
Jarred Sumner
7245f90b2d little bit of errors, little bit of bytecode caching. neither finished
Former-commit-id: c774c395136d58330aa7cad7e9fa434bcef7d5c6
2021-07-30 00:50:29 -07:00
Jarred Sumner
4a8b254652 esmodules work?
Former-commit-id: 5cb5af4416c12518eb195d1b310990fc5c94d6c8
2021-07-28 20:56:29 -07:00
Jarred Sumner
07416311ce Fix crash, fix detecting node_modules, fix undefined not being simplified
Former-commit-id: 3f197d1ce0
2021-06-29 17:47:58 -07:00
Jarred Sumner
ece2a3ccfd alright now it crashes
Former-commit-id: 26745bb5f3
2021-06-29 01:34:38 -07:00
Jarred Sumner
adbeb24979 starting to work
Former-commit-id: ae113559c6
2021-06-27 23:36:35 -07:00