Commit Graph

8579 Commits

Author SHA1 Message Date
alexander.akait 6d7b769f2f fix(css): more 2024-10-16 06:04:30 +03:00
alexander.akait 1ff9185ad3 fix(css): urls parsing 2024-10-16 05:33:52 +03:00
Alexander Akait b81de39316
fix(css): nesting in css modules 2024-10-15 21:23:38 +03:00
alexander.akait 7f47cad728 fix(css): nesting in css modules 2024-10-15 20:53:58 +03:00
Alexander Akait 5956daa300
chore: udpate dependencies 2024-10-15 16:21:51 +03:00
ScriptedAlchemy eab8815c05 chore: apply hoist plugin 2024-10-14 15:07:57 -07:00
Zack Jackson aae2519634
Merge branch 'webpack:main' into hoist-container-refs 2024-10-14 14:47:31 -07:00
Alexander Akait c801ebb253
fix: use optimistically logic for `output.environment.dynamicImport` to determine chunk format 2024-10-14 22:13:22 +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
alexander.akait 291ebf8287 fix: logic 2024-10-13 21:53:22 +03:00
alexander.akait 5775d1fdf8 feat(css): always interpolate classes even if they are not involved in export 2024-10-13 21:06:01 +03:00
alexander.akait 5759a4af5a feat(css): `src()` support 2024-10-13 20:27:38 +03:00
alexander.akait e66f14fa1f fix(css): no extra runtime for node target 2024-10-13 19:46:16 +03:00
Alexander Akait 644d8170a0
fix(css): avoid extra runtime for assets modules 2024-10-13 16:20:29 +03:00
alexander.akait 8c43febb2f fix: logic for assets 2024-10-12 20:49:07 +03:00
alexander.akait 0ba37443e6 fix: logic for asset/source 2024-10-12 17:04:12 +03:00
alexander.akait a7e5e6a02b fix: logic for asset/source 2024-10-12 15:22:36 +03:00
alexander.akait 5ad5c12ffe fix: data URI logic 2024-10-12 14:23:36 +03:00
alexander.akait d942ec64d3 fix: cache logic 2024-10-12 14:14:48 +03:00
alexander.akait 7d888ffe1d fix: logic 2024-10-12 13:45:07 +03:00
alexander.akait 6313616448 fix: external 2024-10-12 13:32:19 +03:00
alexander.akait 737c16cb11 fix: logic 2024-10-12 13:25:10 +03:00
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 df669cacca fix: logic 2024-10-11 18:08:56 +03:00
alexander.akait 3bc531bf52 fix: logic 2024-10-11 17:47:32 +03:00
alexander.akait 485f3d6758 fix(css): avoid extra runtime for assets modules 2024-10-11 17:24:53 +03:00
alexander.akait 5a3ce4e0d7 fix: logic 2024-10-10 18:37:04 +03:00
Nitin Kumar 4da89eddfd feat: allow template strings in `devtoolNamespace` 2024-10-10 18:11:58 +03:00
ScriptedAlchemy 5b6e2e3097 refactor: remove runtime chunk collector 2024-10-09 13:16:17 -07:00
ScriptedAlchemy 49a9968813 tests: add test case 2024-10-09 13:13:04 -07:00
alexander.akait db4a23ee9e style: fix 2024-10-09 13:13:04 -07:00
alexander.akait ddd92aba5d test: fix 2024-10-09 13:13:04 -07:00
ScriptedAlchemy 755bf161bc tests: add test case 2024-10-09 13:13:04 -07:00
ScriptedAlchemy af922431d2 chore: address comments 2024-10-09 13:13:04 -07:00
ScriptedAlchemy d0bfad35ae fix: rename hooks to be correct 2024-10-09 13:13:04 -07:00
Zack Jackson 07670cf9e8 Update ModuleFederationPlugin.js 2024-10-09 13:13:04 -07:00
ScriptedAlchemy 80a6b339c9 chore: add container hoisting plugin 2024-10-09 13:13:03 -07:00
ScriptedAlchemy 11f5b59ab2 fix: Container Reference Hoisting 2024-10-09 13:13:03 -07:00
alexander.akait f7b4db8f9b fix: emit a warning on broken `:local` and `:global` 2024-10-09 20:36:48 +03:00
alexander.akait 56e525bc15 fix: CSS Modules bugs 2024-10-09 13:22:06 +03:00
alexander.akait 30ccd1baa9 refactor: code 2024-10-09 13:22:04 +03:00
alexander.akait 94fa19ad68 refactor: code 2024-10-09 13:21:57 +03:00
alexander.akait 7fd36f908e refactor: code 2024-10-09 13:21:57 +03:00
alexander.akait 8dc4fabb69 fix: parsing bad urls 2024-10-09 08:39:40 +03:00
Alexander Akait b4924e0b37
refactor: css tokenizer accoring spec 2024-10-09 01:55:41 +03:00
alexander.akait 91fe52958c refactor: css 2024-10-09 01:09:16 +03:00
Alexander Akait 94feb93752
fix: `css/auto` considers a module depending on its filename as `css` (pure CSS) or `css/local` 2024-10-08 16:52:23 +03:00
alexander.akait 53fb6c9e8a test: fix 2024-10-04 19:32:45 +03:00
alexander.akait 675a6c02e6 fix: `css/auto` considers a module depending on its filename as `css` (pure CSS) or `css/local` 2024-10-04 18:19:57 +03:00
alexander.akait 9192eefa6c test: fix 2024-10-04 17:37:20 +03:00
alexander.akait d01ed0002a refactor: code 2024-10-04 17:22:04 +03:00
alexander.akait 9ad073028e fix: avoid extra runtime for get javascript/css chunk filename 2024-10-04 16:55:48 +03:00
alexander.akait 1a63020998 fix: avoid extra `prefetch` and `preload` JS runtime for CSS 2024-10-03 20:03:55 +03:00
alexander.akait c5edbaa399 fix: avoid extra runtime code for CSS 2024-10-02 19:05:39 +03:00
alexander.akait e9b92650cd fix: types 2024-10-02 04:21:28 +03:00
alexander.akait 4a3974da3f fix: use `module` chunk format as a fallback when `environment.dynamicImport` is optimistically supported 2024-10-02 01:16:52 +03:00
alexander.akait e60cff554a fix: types 2024-10-02 00:29:48 +03: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 b05a325dd1
fix: avoid cache invalidation using `ProgressPlugin` 2024-09-26 22:38:21 +03:00
alexander.akait 13dc07e996 test: added 2024-09-26 21:38:33 +03:00
alexander.akait c5eccb21ca fix: avoid cache invalidation using `ProgressPlugin` and `importModule` 2024-09-26 19:31:30 +03:00
alexander.akait a8dde9aa49 fix: increase parallelism when using `importModule` on the execution stage 2024-09-25 20:34:39 +03:00
alexander.akait c59a232de5 fix: correctly parsing `string` export and import 2024-09-25 19:02:23 +03:00
Alexander Akait 4866b0daf1
feat: added new `optimization.entryIife` option 2024-09-25 16:58:02 +03:00
Alexander Akait d90f6920f0
fix: merge duplicate chunks after split chunks 2024-09-25 16:32:53 +03:00
fi3ework c1a0a4666e fix(externals): distinguish “module” and “import” in “module-import” 2024-09-24 23:49:02 +08:00
Alexander Akait dae16ad11e
feat: pass output.hash* options to loader context 2024-09-20 17:38:27 +03:00
alexander.akait 75d185d27e feat: pass `output.hash*` options to loader context 2024-09-20 16:56:45 +03:00
alexander.akait 7fa2d12eb3 refactor: code 2024-09-20 15:52:48 +03:00
alexander.akait 0011ec130a refactor: code 2024-09-20 15:49:36 +03:00
alexander.akait 9414c40a17 fix: use content hash as `[base]` and `[name]` for extracted DataURI's 2024-09-20 14:23:38 +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
alexander.akait 813058f3d8 fix: generate code correctly for dynamically importing the same file twice and destructuring 2024-09-10 22:52:10 +03:00
alexander.akait bbc2ea7516 fix: types for ts5.6 2024-09-10 21:32:49 +03:00
Mikhail Shipov 1b217a6d94 fix: add extra merge duplicates call after split chunks 2024-09-10 13:58:08 +03:00
Alexander Akait 80156db07e
fix: handle default for import context element dependency 2024-09-06 18:24:32 +03:00
jserfeng c2b9407c14 fix: decide processBlock by input block 2024-09-04 17:40:45 +08:00
ahabhgk b71ba80518 lint 2024-09-04 15:12:06 +08:00
ahabhgk 860eb4aa0b fix: handle default for import context element dependency 2024-09-04 15:03:38 +08:00
Alexander Akait 27cf3e59f5
revert: always add semicolon in concaten module and tweak 2024-09-03 15:33:28 +03:00
Alexander Akait c86ab4713f
fix: make EnvironmentPlugin defaultValues types less strict 2024-09-03 14:57:02 +03:00
jserfeng 2e994c848b perf(buildChunkGraph): avoid unneeded re-visit 2024-09-03 16:55:47 +08:00
Roman Gusev c5e197aa67 fix: add type hints 2024-08-28 00:37:17 +02:00
Roman Gusev d2c7a708d7 docs: update JSDoc types 2024-08-28 00:10:31 +02:00
fi3ework 4c35aa7eeb fix: always add semicolon in concaten module and tweak 2024-08-28 02:12:35 +08:00
fi3ework 362935e340 fix: ASI in concatenated module only when necessary 2024-08-27 00:22:25 +08:00
Alexander Akait 09543e7d8e
fix: hanging when attempting to read a symlink-like file that it can't read 2024-08-22 19:12:42 +03:00
alexander.akait ade5e4313f refactor: logic 2024-08-22 18:31:35 +03:00
Alexander Akait 955e057abc
security: fix DOM clobbering in auto public path 2024-08-22 15:05:07 +03:00
alexander.akait 2411661bd1 security: fix DOM clobbering in auto public path 2024-08-21 15:47:34 +03:00
Hana b8c03d4772
fix: unexpected asi generation with sequence expression 2024-08-21 16:32:04 +08:00
fi3ework 60f189871a fix: do not use heuristic fallback for "module-import" 2024-08-20 13:57:40 +08:00
fi3ework 66306aa456 Revert "fix: module-import get fallback from externalsPresets"
This reverts commit c951c982e3.
2024-08-19 19:50:35 +08:00
Ahmed Fasih 83c205745c fix: make lstatReadlinkAbsolute work when readlink fails 2024-08-15 22:34:18 -07:00
inottn 420cb39bdd fix: handle ASI for export declaration 2024-08-15 20:32:58 +08:00
Alexander Akait 844fe4b2fa
fix: ts types 2024-08-15 14:14:16 +03:00
alexander.akait a2b0f9bac0 fix: ts types 2024-08-14 21:38:08 +03:00
Alexander Akait 46cee28719
feat: support `webpackIgnore` for `new URL()` construction 2024-08-14 19:18:42 +03:00
Alexander Akait 71ce863569
fix: mangle destruction incorrect with export named default 2024-08-14 19:14:31 +03:00
alexander.akait 5cdd031fb6 feat: support `webpackIgnore` for `new URL()` construction 2024-08-14 16:58:10 +03:00
jserfeng 0d856a3553 fix: mangle destruction incorrect with export named default 2024-08-14 21:38:14 +08:00
Alexander Akait cb6ffaf38f
fix: handle ASI for export named declarations 2024-08-14 15:11:23 +03:00
Alexander Akait 62f4c687a6
refactor: module-import get fallback from externalsPresets 2024-08-14 15:10:51 +03:00
alexander.akait d28b92c80c fix: handle ASI for export named declarations 2024-08-14 14:47:21 +03:00
alexander.akait 3c675c5510 refactor: fix logic 2024-08-13 19:09:15 +03:00
alexander.akait f7fd4ae43a fix: `related` in asset stats is now always an array 2024-08-13 18:13:07 +03:00
fi3ework c951c982e3 fix: module-import get fallback from externalsPresets 2024-08-13 12:10:06 +08:00
alexander.akait 856f3a4bfb refactor: rebase 2024-08-12 17:12:05 +03:00
Alexander Akait d8b869fa92
Merge branch 'main' into feat/at_import_pathinfo_support 2024-08-12 17:08:27 +03:00
alexander.akait 7298d19d4a refactor: logic 2024-08-12 16:53:44 +03:00
faga fe51e3e48b feat: at_import pathinfo support 2024-08-12 02:17:52 +08: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 13560eac2e
fix: a lot of types 2024-08-06 18:38:15 +03:00
alexander.akait c6d1d15c83 test: fix tests 2024-08-06 17:49:07 +03:00
alexander.akait 98b3febf5e test: fix unit tests 2024-08-06 17:14:33 +03:00
alexander.akait adf2a6b7c6 fix: a lot of types 2024-08-06 06:08:48 +03:00
fi3ework 93aff0ca62 cr update 2024-08-05 23:13:57 +08:00
fi3ework c783012d91 rebase 2024-08-05 17:11:10 +08:00
fi3ework f22a965abd refactor: clean code 2024-08-05 17:04:47 +08:00
fi3ework 1d07f1fa95 refactor 2024-08-05 17:04:46 +08:00
alexander.akait 406ec4f7a8 refactor: simplify logic 2024-08-05 17:03:10 +08:00
fi3ework ce24bb03c2 feat: add new external type "module-import" 2024-08-05 17:03:09 +08:00
Alexander Akait 4047985205
fix: make `bigint` support optimistic when browserslist not found 2024-08-02 20:39:05 +03:00
alexander.akait eaab7e742c fix: skip `globalThis` 2024-08-02 20:20:10 +03:00
Alexander Akait 1ff2ba9a3d
fix: handle properly `data`/`http`/`https` protocols in source maps 2024-08-02 20:15:41 +03:00
alexander.akait c6c45f3313 refactor: code 2024-08-02 19:32:33 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait b84d7956b5 refactor: code 2024-08-02 19:32:29 +03:00
alexander.akait c2b38a6bd6 refactor: improve code 2024-08-02 19:32:29 +03:00
alexander.akait 40151be78e refactor: improve code 2024-08-02 19:32:29 +03:00
alexander.akait 1fe55ac7b5 refactor: improve code 2024-08-02 19:32:27 +03:00
alexander.akait c802a98f58 style: improve 2024-08-02 19:32:22 +03:00
alexander.akait 312f7ae662 style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 9943f3506a style: improve style of code 2024-08-02 19:32:14 +03:00
alexander.akait 9e2ead389c fix: logic 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 98dddab691 fix: handle properly `data`/`http`/`https` protocols in source maps 2024-08-02 19:25:52 +03:00
alexander.akait a260df0fff chore: fix prettier 2024-07-30 17:21:50 +03:00
alexander.akait 4ee703f647 chore: improve jsdoc rules 2024-07-30 17:07:14 +03:00
alexander.akait 93b3008fc0 chore: improve jsdoc eslint rules 2024-07-30 15:26:24 +03:00
ahabhgk be4a283318 fix: use different key 2024-07-26 08:28:37 +08:00
ahabhgk a08d9d590e fix: add runtime condition for harmony reexport checked 2024-07-26 00:57:47 +08:00
Ron Buckton 24ba2ba5e3 Fix formatting 2024-07-17 22:58:07 +00:00
Ron Buckton 836f6f63f7 Support strictBuiltinIteratorReturn 2024-07-17 22:47:45 +00: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
Alexander Akait 1a27b9edca
fix: contenthash for css generator options 2024-07-10 19:53:51 +03:00
Alexander Akait d4e99e90e3
feat: allow to override strict for javascript module 2024-07-10 19:51:50 +03:00
Alexander Akait a01668c786
feat: reduce unnecessary exports runtime for `modern-module` libraries 2024-07-10 19:49:09 +03:00
ahabhgk 05c0d8270c fix cr 2024-07-10 12:45:14 +08:00
fi3ework 7cacdb5685 feat: reduce unnecessary exports runtime 2024-07-10 11:46:24 +08:00
ahabhgk 515c0d3cd0 fix: strip slash for pretty regexp 2024-07-04 15:36:24 +08:00
ahabhgk 9c9cb0bcdd feat: override strict for javascript module 2024-07-03 16:32:36 +08:00
ahabhgk a12ee1e946 fix: contenthash for css generator options 2024-06-30 18:13:56 +08:00
Alexander Akait dd44b206a9
fix: consumption of eager shared modules for module federation 2024-06-21 17:22:29 +03:00
Alexander Akait e38e2bc31b
fix: mangle destructuring default in namespace import 2024-06-21 16:45:48 +03:00
ahabhgk 6011f18b13 improve perf 2024-06-21 21:23:49 +08:00
ahabhgk cfd6049ff6 fix: mangle destructuring default in namespace import 2024-06-21 21:01:17 +08:00
Sushruth Sastry 7c6033afb6 fix: Fixes #18519 - makes DefinePlugin quieter under default log level 2024-06-20 10:21:29 -07:00
Alexander Akait abb0fb30c0
feat: added the `modern-module` library value for tree shakable output 2024-06-19 21:09:10 +03:00
Alexander Akait ee81edc6a2
feat: add the `binary` generator option for asset modules to explicitly keep source maps produced by loaders 2024-06-19 20:20:46 +03:00
alexander.akait 1e2e0ac44f refactor: code 2024-06-19 19:33:28 +03:00
fi3ework 86336d9894 fix: lint 2024-06-19 14:15:14 +08:00
fi3ework 475684c908 fix: should attach exports names on buildMeta 2024-06-19 11:13:05 +08:00
fi3ework 5cff7bd0e7 fix: assert output won’t be wrapped in IIFE 2024-06-19 11:11:46 +08:00
fi3ework c54d4a4b1f chore: use 'modern-module' as new type 2024-06-19 11:11:42 +08:00
fi3ework f6b9af6ed0 feat: tree shakable output for module library 2024-06-19 11:11:41 +08:00
Titouan Mathis 23be8db004
fix: error with contenthash and css experiment
fix #18511
2024-06-18 15:11:04 +02:00
Arcanox e3763db6a7 Remove check for module type when looking for "binary" override so that non-asset modules may use the option later 2024-06-11 14:27:45 -05:00
Arcanox a65d329381 Fix accessing generatorOptions object when null/undefined, and update test snapshot with the new CLI flags resulting from the new generator option 2024-06-11 14:25:06 -05:00
ArcanoxDragon b6f164b2a9 Add a generator option for asset modules to prevent automatic conversion to Buffer (which causes source maps to be lost). Fixes #18438 2024-06-11 14:25:05 -05:00
alexander.akait a8866644d7 fix: make bigint and globalThis optimistic 2024-06-11 17:55:33 +03:00
alexander.akait 9d899d41c9 chore: small fixes 2024-06-11 16:53:23 +03:00
alexander.akait de6d4b2f4c style: fix 2024-06-11 16:30:09 +03:00
alexander.akait 1954237716 chore: fix lint and types 2024-06-11 16:26:12 +03:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
alexander.akait fcdfc26ef2 chore: fix 2024-06-11 15:38:41 +03:00
alexander.akait 81f2e865a6 chore: update eslint to v9 2024-06-11 15:32:02 +03:00
Alexander Akait 0c5879aa67
fix: css url public path 2024-06-10 22:03:14 +03:00
alexander.akait e039135b81 fix: logic for cache 2024-06-10 21:40:30 +03:00
alexander.akait ba4db838e9 feat: added `with` ruleset rule 2024-06-10 20:40:50 +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 08f87802f6 test: refactor 2024-06-10 17:45:21 +03:00
alexander.akait dedbd69410 chore: update logic 2024-06-10 17:45:21 +03:00
alexander.akait f137fd2bcf refactor: migrate on `acorn-import-attributes` 2024-06-10 17:45:21 +03:00
ahabhgk eb534d5c64 lint 2024-06-10 22:38:22 +08:00
ahabhgk 9ed525550e remove toString 2024-06-10 22:33:46 +08:00
ahabhgk 0b92e07d03 add css render module cache 2024-06-10 22:33:44 +08:00
ahabhgk 3afed0618b fix module rule output path 2024-06-10 22:29:15 +08:00
ahabhgk 4a360f63f5 works for node10 2024-06-10 22:29:15 +08:00
ahabhgk c5617482b7 fix: css url public path 2024-06-10 22:29:15 +08:00
Alexander Akait 941d3a6017
feat: added platform target properties to compiler. 2024-06-07 18:03:18 +03:00
alexander.akait bc5a787976 refactor: fix desc 2024-06-07 17:38:52 +03:00
alexander.akait 38464cf5c2 refactor: fix naming 2024-06-07 17:31:30 +03:00
alexander.akait e4b9c088e0 refactor: code 2024-06-07 17:29:10 +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
Alexander Akait f09fcaf2af
feat: export `compileBooleanMatcher` util 2024-06-05 18:24:24 +03:00
Nitin Kumar 8c468327b8 fix: correct tidle range's computation 2024-06-05 08:20:41 +05:30
Alexander Akait d9ce3b1f87
feat: support css esModule generator options 2024-06-04 15:42:23 +03:00
ahabhgk 563c56f406 fix: consider runtime for pure expression dependency update hash 2024-06-04 15:25:43 +08:00
ahabhgk c3e5d65d21 refactor 2024-06-01 16:20:58 +08:00
Kirill Zaytsev ffaad7132f fix: Consumption of eager shared modules 2024-05-25 17:15:47 +04:00
Ivan Kopeykin ba6ace7f30 Merge branch 'main' into feat-platform-target-properties-in-compiler
# Conflicts:
#	lib/config/defaults.js
#	lib/webpack.js
#	types.d.ts
2024-05-08 19:21:41 +03:00
Alexander Akait 4baf1c075d
fix: add return value to `subtractRuntime` fn 2024-05-08 18:03:47 +03:00
alexander.akait 637bdc1e72 refactor: code 2024-05-07 19:04:11 +03:00
alexander.akait 2addbcfaa5 refactor: name 2024-05-07 19:03:46 +03:00
alexander.akait 677dc53080 refactor: logic 2024-05-07 19:01:41 +03:00
Ivan Kopeykin 0a15026561 Merge branch 'main' into feature/issue-14843 2024-05-07 16:18:30 +03:00
Ivan Kopeykin 31ddbd2232 Merge branch 'main' into feat-platform-target-properties-in-compiler 2024-05-07 16:17:55 +03:00
Alexander Akait 3f5a5ab636
refactor: should count in module scope variables 2024-05-07 15:12:12 +03:00
Alexander Akait 7ba3705ba7
feat: support `"..."` in resolve `importsFields` 2024-05-07 15:07:51 +03:00
Ivan Kopeykin 3a498e7a39 fix namings 2024-05-01 18:10:57 +03:00
Ivan Kopeykin e11fb128a2 add platform target properties to compiler.
add 2 methods `compiler.getPlatformTargetInfo` and `compiler.setPlatformTargetInfo` to allow get and set platform target properties. by default resolve this properties from target option.
2024-05-01 17:28:13 +03:00
Ivan Kopeykin 24f8a3a1b7 fix warnings 2024-05-01 15:06:35 +03:00
ahabhgk 5091d37d42 fix: failed to resolve promise when eager import a dynamic cjs 2024-04-30 17:42:04 +08:00
ahabhgk 7ff0a7a13e feat: support css esModule generator options 2024-04-26 14:53:52 +08:00
ahabhgk 0de9b1d2b5 fix: support "..." for resolve importsFields 2024-04-25 15:53:56 +08:00
fi3ework 1234b1f27b fix: should count in module scope variables 2024-04-25 02:21:44 +08:00
Alexander Akait c586c7b1e0
feat: root module is less prone to be wrapped in IIFE 2024-04-24 15:08:00 +03:00
fi3ework 551c3721cf feat: root module is less prone to be wrapped in IIFE 2024-04-24 15:54:06 +08:00
ahabhgk 0e28b6e359 fix: parse minimized css import 2024-04-23 14:29:13 +08:00
Alexander Akait 1542e118c5
fix: only render init code when need moduleRemapping 2024-04-22 21:23:55 +03:00
hai-x 918ab508c1 fix: add return value to subtractRuntime fn 2024-04-22 00:10:27 +08:00
ahabhgk bf2571b957 remove exportsConvention for css 2024-04-20 12:10:56 +08:00
ahabhgk 42160d0232 fix: avoid hash @keyframe and @property in css/global 2024-04-20 11:29:06 +08:00
ahabhgk 3e36ddf74a fix: css should not allowModeSwitch 2024-04-20 11:28:19 +08:00
ahabhgk cc5c37df08 clean up 2024-04-19 00:59:57 +08:00
ahabhgk a93725ff9c refactor to HarmonyDestructuredImportSpecifierDependency 2024-04-19 00:54:46 +08:00
fi3ework acbd96adf9 fix: only render init code when need moduleRemapping 2024-04-18 17:17:34 +08:00
alexander.akait 1eaca5784a feat: export `compileBooleanMatcher` util 2024-04-16 18:53:21 +03:00
ahabhgk 3a49b0210b add test 2024-04-13 18:14:23 +08:00