alexander-akait
a1df00d339
refactor: improve eslint configuration and better types
2025-03-12 04:56:14 +03:00
Alexander Akait
7b4641f5ee
fix: types ( #19291 )
2025-03-07 16:12:22 +03:00
David Michon
131d02f8c4
(fix) Use module ids for final render order
2025-02-04 15:21:02 -08:00
alexander.akait
6fe040f036
feat: universal CSS target
2024-11-25 17:51:47 +03:00
alexander.akait
8031c700a1
refactor: supports streaming for wasm universal
2024-11-14 04:50:38 +03:00
alexander.akait
1c18ffdfe9
feat: universal wasm loading for async wasm (only ES modules)
2024-11-14 03:12:56 +03:00
alexander.akait
b07142f672
refactor: module source types code
2024-11-01 00:14:05 +03:00
alexander.akait
8b864dbe81
fix: types
2024-10-23 23:30:31 +03:00
Nitin Kumar
eba41c692c
chore: udpate dependencies
2024-10-14 08:32:08 +05:30
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
b9d9a5d9ff
style: improve style of code
2024-08-02 19:32:14 +03:00
alexander.akait
ab3e93b19e
style: fix
2024-06-11 16:09:50 +03:00
alexander.akait
3e3dfd781b
fix(types): more
2024-03-17 20:15:44 +03:00
magic-akari
3dbbe2fe1b
fix: handle instantiateStreaming resolved branch
2024-01-30 20:06:52 +08:00
magic-akari
adfd4000c7
fix: add fallback for MIME mismatch error in async wasm loading
2024-01-27 13:09:32 +08:00
ahabhgk
b19c422925
fix: add warning for async external
2024-01-16 10:25:30 +08:00
Alexander Akait
0781eac69c
feat: add warning for async module when not supported
2024-01-15 17:21:20 +03:00
ahabhgk
20c16c3c04
fix
2024-01-14 22:37:32 +08:00
ahabhgk
a55f34349a
feat: add warning for asyncModule
2024-01-14 18:11:12 +08:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
4809421990
refactor(types): more
2023-06-21 19:00:24 +03:00
alexander.akait
fb93153a2e
test: fix
2023-06-14 19:46:55 +03:00
alexander.akait
568f28bb87
refactor(types): more
2023-06-14 19:45:51 +03:00
alexander.akait
3591783d9e
refactor(types): wasm and runtime
2023-05-26 01:18:44 +03:00
alexander.akait
ede77bcb20
refactor(type): small improve
2023-05-01 00:58:34 +03:00
Sean Larkin
fa4cbf11a1
add more module type constants, use them across codebase
2023-03-31 10:56:32 -07:00
Tobias Koppers
804f49c32c
fix handling of errors thrown in async modules
2022-01-27 16:28:28 +01:00
Tobias Koppers
08ea1464d5
keep state of chunk loading during hmr updates
...
ignore duplicate chunk loads
2021-08-16 13:50:43 +02:00
Tobias Koppers
0bd1e789d4
generate "use strict" only when really needed
2021-07-22 16:09:09 +02:00
Tobias Koppers
b0fa9ccada
pretty files
2021-05-11 09:31:46 +02:00
Tobias Koppers
495cabb94d
improve TLA consistency
2021-01-29 13:51:32 +01:00
highonweb
bc1911bf78
Changed name of memorize function to memoize
2020-12-27 03:02:57 +05:30
Tobias Koppers
48571c663f
add selective runtime requirements from startup logic which doesn't prevent inlining modules
...
avoid using startup function for grab data from preexecuted chunks
2020-12-11 14:36:48 +01:00
Tobias Koppers
cbcd459d19
fix conflicting real imports and type imports
2020-11-26 10:02:59 +01:00
Tobias Koppers
8948263db8
avoid using getChunkModuleMaps as it doesn't support different modules per runtime
2020-07-28 17:16:32 +02:00
Tobias Koppers
e16bdfda6c
refactor used exports analysis, hashing, code generation, optimizations
...
to keep track of runtimes, used exports depending on runtime
modules can have different hashes and generated code depending on runtime
chunks are only considered as equal for MergeDuplicateChunks and SplitChunks when exports used in contained modules are equal
added `optimization.usedExports: "global"` to opt-out from used exports analysis per runtime
added `splitChunks.usedExports` and `splitChunks.cacheGroups[x].usedExports` to enable/disable used exports comparing for modules
`splitChunks.usedExports` defaults to `true` in production
2020-07-27 22:40:44 +02:00
Tobias Koppers
a66290a15f
add support for async externals
...
add `promise` external
add `import` external (uses import())
add `output.importFunctionName` option to change the `import()` function name
allow for inline external type when using arrays
fix some typings
fix namespace object behavior when using system external and accessing nested property
fix interop behavior for async dynamic modules
2020-05-19 17:25:43 +02:00
Nathan Shively-Sanders
8603fd75a6
fix 3.9 build errors
2020-05-12 14:37:02 +02:00
Tobias Koppers
b9c50fdb09
fix jsdoc documentations
2020-04-28 19:42:58 +02:00
Tobias Koppers
782e4535ac
Refactor how exportsType work
...
add flagged exportsType for __esModule flagged
add getExportsType to merge strict with exportsType
move CommonJsStuffPlugin into CommonJsPlugin
split CommonJsPlugin into imports and exports part
enable minimal tree shaking for CommonJs imports and exports
2019-12-06 11:13:08 +01:00
Ivan Kopeykin
1b3c667fd7
run lint fix
2019-12-03 20:48:31 +03:00
Ivan Kopeykin
faea05d195
fix: use memorize util instead of lazyRequire
2019-12-03 20:31:39 +03:00
Ivan Kopeykin
4598ea539b
feat(util/lazyRequire): tool for loading CommonJS modules lazily
2019-12-02 18:37:55 +03:00
Tobias Koppers
2f3da77d38
Introduce a Parser base class to improve Parser types
...
Parser.parse must be always sync
make JSON and WASM modules strict
fix inherit-types tooling to omit static methods
2019-11-30 01:36:28 +01:00
Sergey Melyukov
bdc61abf82
refactor: merge generators in asset modules
2019-11-26 15:42:37 +01:00
Tobias Koppers
497b65e122
run prettier
2019-11-15 10:56:01 +01:00
Tobias Koppers
84b6817f60
consistency and bugfixes for reexporting json
2019-11-05 10:39:12 +01:00
Tobias Koppers
bba1d0fbb7
lazy require webassemblyjs using modules
2019-10-18 13:48:11 +02:00
Tobias Koppers
65bdb43180
fix badly chosen max fill rate for deterministic
...
sort modules by identifier in output file, that's better for gzip
2019-10-16 16:38:04 +02:00