Commit Graph

382 Commits

Author SHA1 Message Date
hai-x e3092e5d7e
fix: runtime error when using asset module as entrypoint and runtimeChunk (#19229) 2025-02-14 22:27:38 +03:00
David Michon 131d02f8c4 (fix) Use module ids for final render order 2025-02-04 15:21:02 -08:00
hai-x 58fb03552c fix: sub define key should't be renamed when it's a defined variable 2024-12-04 20:12:40 +08:00
alexander.akait 3d37ec5a76 feat: use ES modules for universal target for chunks and worker chunks 2024-11-14 17:03:02 +03:00
alexander.akait b07142f672 refactor: module source types code 2024-11-01 00:14:05 +03:00
alexander.akait db323536f2 refactor: code 2024-10-31 20:04:57 +03:00
alexander.akait 79b8f00ea5 refactor: update acorn 2024-10-31 18:32:03 +03:00
alexander.akait b520904482 refactor: udate acorn 2024-10-31 18:32:03 +03:00
alexander.akait 6589de0b63 fix: types 2024-10-24 21:13:59 +03:00
alexander.akait 0d5476df4f fix: types 2024-10-24 17:09:39 +03:00
alexander.akait 8b864dbe81 fix: types 2024-10-23 23:30:31 +03:00
alexander.akait 7ffa4eb81a fix: logic 2024-10-23 03:03:35 +03:00
alexander.akait b0b8515bd6 fix: logic 2024-10-23 00:28:42 +03:00
alexander.akait dacf3dcdc3 refactor: code 2024-10-22 18:23:22 +03:00
alexander.akait 93fc22de6a fix: logic 2024-10-22 17:47:48 +03:00
alexander.akait 420d0d0eed fix: avoid generating extra js file when using asset module as entrypoint 2024-10-22 17:26:00 +03:00
alexander.akait 5832888320 feat(css): implemented basic logic 2024-10-16 17:42:26 +03:00
Alexander Akait 5956daa300
chore: udpate dependencies 2024-10-15 16:21:51 +03:00
Alexander Akait 18d6cb5afe
fix: collision with global variables for `avoidEntryIife` 2024-10-14 18:04:29 +03:00
Nitin Kumar eba41c692c chore: udpate dependencies 2024-10-14 08:32:08 +05:30
Nitin Kumar f8690def6a fix: use `needs` in message to mach with documentation 2024-10-12 14:08:03 +05:30
Nitin Kumar 1e95fcb80f fix: use `needs` in message to mach with documentation 2024-10-12 14:04:53 +05:30
fi3ework bb10e4b5f0 fix: should avoid through variables in inlined module 2024-10-12 02:27:08 +08:00
alexander.akait 636b5c5dba fix: types 2024-10-02 00:18:10 +03:00
alexander.akait b3f89a33c8 fix: types 2024-09-30 22:05:27 +03:00
alexander.akait c59a232de5 fix: correctly parsing `string` export and import 2024-09-25 19:02:23 +03:00
fi3ework 8354f16073 update pr 2024-09-20 00:24:31 +08:00
fi3ework 7bc06a3295 feat: add new optimization.entryIife config 2024-09-19 01:20:47 +08:00
Hana b8c03d4772
fix: unexpected asi generation with sequence expression 2024-08-21 16:32:04 +08:00
alexander.akait d28b92c80c fix: handle ASI for export named declarations 2024-08-14 14:47:21 +03:00
alexander.akait 0a76fa02d3 fix: types 2024-08-09 18:42:37 +03:00
alexander.akait 7fd8ffb271 fix: types 2024-08-08 20:03:17 +03:00
alexander.akait 1805436d3b fix: types 2024-08-07 21:59:26 +03:00
alexander.akait ff9e19809a fix: types 2024-08-07 19:14:54 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 40151be78e refactor: improve code 2024-08-02 19:32:29 +03:00
alexander.akait c802a98f58 style: improve 2024-08-02 19:32:22 +03:00
alexander.akait 9943f3506a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 0b745968a2 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait b9d9a5d9ff style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 0a68cb16a4 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait c914fe202a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait ac0bd21801 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 500ee96dcb style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 5725254415 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 423e89b2c7 style: improve style of code 2024-08-02 19:32:13 +03:00
alexander.akait 4ee703f647 chore: improve jsdoc rules 2024-07-30 17:07:14 +03:00
Alexander Akait 76ab754099
fix: relative path to runtime chunks 2024-07-11 19:29:10 +03:00
alexander.akait 40b1a77183 test: added 2024-07-11 18:51:59 +03:00
alexander.akait 080e54fcf1 fix: relative path to runtime chunks 2024-07-11 18:15:25 +03:00
fi3ework 7cacdb5685 feat: reduce unnecessary exports runtime 2024-07-10 11:46:24 +08:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait e039135b81 fix: logic for cache 2024-06-10 21:40:30 +03:00
alexander.akait 2296c75bac fix: types 2024-06-10 20:02:46 +03:00
alexander.akait 6154a2393f refactor: code 2024-06-10 19:21:03 +03:00
alexander.akait f137fd2bcf refactor: migrate on `acorn-import-attributes` 2024-06-10 17:45:21 +03:00
Alexander Akait 8de5f9ac09
fix: mangle with destructuring 2024-06-07 15:25:33 +03:00
ahabhgk 327d208156 fix review 2024-06-06 01:15:03 +08:00
ahabhgk 563c56f406 fix: consider runtime for pure expression dependency update hash 2024-06-04 15:25:43 +08:00
fi3ework 1234b1f27b fix: should count in module scope variables 2024-04-25 02:21:44 +08:00
fi3ework 551c3721cf feat: root module is less prone to be wrapped in IIFE 2024-04-24 15:54:06 +08:00
ahabhgk 0734314753 fix: mangle with destructuring 2024-04-13 02:40:28 +08:00
多小凯 7b7b96d57c
perf: change to the correct plugin name 2024-03-22 00:34:23 +08:00
alexander.akait be1d35eb02 fix(types): more 2024-03-18 18:50:56 +03:00
alexander.akait c80a7f2e16 refactor: code use attributes instead assertions 2024-03-15 18:11:02 +03:00
alexander.akait 662a0e77bb fix: more types 2024-03-14 18:50:52 +03:00
alexander.akait 33cd20a180 fix(types): watching and more 2024-03-14 18:15:13 +03:00
alexander.akait 44b4f96e2b refactor: code 2024-03-05 17:40:46 +03:00
David Michon fbf92fe522 Reuse VM context across webpack magic comments 2024-01-31 18:27:28 -08:00
alexander.akait 3295f6c36f chore(types): more 2024-01-26 19:17:45 +03:00
alexander.akait 1c4bcfa36c chore(types): more 2024-01-26 17:53:40 +03:00
alexander.akait 89bea025a7 chore(types): improve 2024-01-26 16:15:24 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
alexander.akait 9228d78eec fix: types 2024-01-11 20:31:31 +03:00
alexander.akait 4152899d55 fix: don't optimize `extends` when class has constructor 2024-01-11 20:30:00 +03:00
Alexander Yamakin ce6b0618ff
Merge branch 'main' into feature-14072 2024-01-09 02:59:32 +03:00
Alexander Akait c1b45d5d80
fix: runtime logic 2024-01-04 15:47:05 +03:00
Ben Worline d4e8485462 initial 2023-09-30 22:13:01 -07:00
alexander.akait 158e0441e7 refactor(types): more 2023-06-22 04:08:40 +03:00
alexander.akait 3092f7cb20 refactor(types): more 2023-06-22 03:59:10 +03:00
alexander.akait 3f71468514 refactor(types): more 2023-06-21 19:01:55 +03:00
alexander.akait d9d64b5198 refactor(types): more 2023-06-21 19:01:53 +03:00
alexander.akait 4809421990 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait 75151416ca fix: indirect call to tagged template expression 2023-06-17 22:54:17 +03:00
alexander.akait 9894226149 refactor(types): more 2023-06-14 19:46:53 +03:00
Sean Larkin f1ea815e8d
Merge pull request #17308 from webpack/issue-17306
fix: compatibility `__non_webpack_require__` with ES modules
2023-06-05 09:34:17 -07:00
alexander.akait ac2c8bec53 refactor: avoid using only runtime 2023-06-03 03:58:03 +03:00
alexander.akait e3b1837442 fix: compatibility `__non_webpack_require__` with ES modules 2023-06-03 02:13:44 +03:00
Ben Worline c8dc5fac9b Handle barrel imports (#17305) 2023-06-02 15:16:53 -07:00
Alexander Akait 53c98f06ee
Merge pull request #17203 from bworline/ns
Normalize property accessors for es6 namespaces and chained member/call expressions
2023-05-31 21:39:09 +03:00
Ben Worline 77c4deb47e Merge branch 'main' of https://github.com/webpack/webpack into ns 2023-05-31 10:15:14 -07:00
alexander.akait 792ee7e516 refactor(types): more 2023-05-31 14:56:55 +00:00
Ben Worline 9abdfecb5a Merge branch 'main' of https://github.com/webpack/webpack into ns 2023-05-27 07:46:50 -07:00
Burhanuddin Udaipurwala 8bf6d59f35 refactor: refactor usages of module.loaded 2023-05-26 21:12:29 +05:30
Burhanuddin Udaipurwala 839e2bf6ad refactor: use global runtime constants for webpack exports 2023-05-26 21:04:26 +05:30
Sean Larkin 8eb9d8cf4a
Merge pull request #17262 from webpack/types-for-assets
refactor: types for assets and json modules plus plugins
2023-05-25 14:52:56 -07:00
Sean Larkin 7328ab824a
Merge pull request #17261 from webpack/types-more
refactor(types): more
2023-05-25 14:46:37 -07:00
alexander.akait 9d97d8981c fix: handle more cases 2023-05-25 18:59:08 +03:00
alexander.akait 234fc91cd7 fix: regression in inner graph 2023-05-25 17:33:58 +03:00