Commit Graph

251 Commits

Author SHA1 Message Date
alexander-akait 7e5752d7fe chore: fix `any` types 2025-03-27 03:07:25 +03:00
alexander-akait a1df00d339 refactor: improve eslint configuration and better types 2025-03-12 04:56:14 +03:00
alexander-akait 0992137f40 fix: types 2025-03-11 05:03:41 +03:00
inottn ac6ffca02d
fix(types): correct BuildInfo and BuildMeta type definitions (#19200) 2025-02-06 16:41:24 +03:00
alexander.akait d5f19bf9a4 refactor: code 2024-11-29 14:06:22 +03:00
alexander.akait 193b712734 refactor: CSS HMR 2024-11-28 23:35:59 +03:00
alexander.akait 16719ec475 perf: cache hash of deps 2024-11-13 19:16:17 +03:00
alexander.akait b07142f672 refactor: module source types code 2024-11-01 00:14:05 +03:00
alexander.akait 6589de0b63 fix: types 2024-10-24 21:13:59 +03:00
alexander.akait a2b0f9bac0 fix: ts types 2024-08-14 21:38:08 +03:00
alexander.akait 0a76fa02d3 fix: types 2024-08-09 18:42:37 +03:00
alexander.akait adf2a6b7c6 fix: a lot of types 2024-08-06 06:08:48 +03:00
alexander.akait 9943f3506a 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 ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
ahabhgk 563c56f406 fix: consider runtime for pure expression dependency update hash 2024-06-04 15:25:43 +08:00
alexander.akait be1d35eb02 fix(types): more 2024-03-18 18:50:56 +03:00
alexander.akait 3e3dfd781b fix(types): more 2024-03-17 20:15:44 +03:00
alexander.akait 9f63f7013a refactor: more types 2024-02-16 20:39:12 +03:00
Alexander Akait c1b45d5d80
fix: runtime logic 2024-01-04 15:47:05 +03:00
alexander.akait e381884115 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait 4809421990 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait e0c7b6c48f refactor: errors and lazy loading 2023-06-01 22:55:49 +03:00
alexander.akait 792ee7e516 refactor(types): more 2023-05-31 14:56:55 +00:00
alexander.akait 5c55c19c9b fix(types): regression with mini-css-extract-plugin 2023-05-25 19:41:29 +03:00
Sean Larkin e958ac552b refactor(types): Improve module type strictness and refactor module type string usages in module subclasses 2023-05-04 23:19:11 +00:00
alexander.akait 02590bfdc7 chore: improve types 2023-04-21 19:22:33 +03:00
xiaoxiaojx 3902ac5ffc fix: fix pureDep returns null in some js files 2023-02-09 14:16:25 +08:00
Tobias Koppers ba755330c7 hash source types correctly for caching
nitpicks
2022-03-28 11:31:46 +02:00
Ivan Kopeykin 3f1715f8d8 generate only needed source types
- in ConcatenatedModule generate only js
- in NormalModule generate only used sources
2022-03-17 13:00:39 +03:00
成仕伟 14478b90c8 fix: use relative path in source map for context module 2022-02-19 01:02:31 +08:00
Tobias Koppers a962d2cedd add __webpack_module__ and __webpack_module_id__ to the api 2022-01-31 11:06:30 +01:00
Asriel Yu 136b723023 fix callback err type should include null 2021-12-24 20:27:31 +08:00
Tobias Koppers 77b5589c1a css generation and hmr 2021-12-03 08:46:22 +01:00
Tobias Koppers 643f1200c0 skip chunk conditions faster 2021-10-07 15:55:22 +02:00
Tobias Koppers b6609a4f6b add `experiments.buildHttp`
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02:00
Tobias Koppers 33b44a05ea DefinePlugin invalidates modules when new defines are added
fixes https://github.com/vercel/next.js/issues/23901
2021-04-12 12:23:51 +02:00
Tobias Koppers 5af7e54e7d
Merge pull request #12896 from webpack/feature/define-cache-version
DefinePlugin takes care of module invalidation when values have changed
2021-03-15 16:14:35 +01:00
Tobias Koppers 103a51468b DefinePlugin takes care of module invalidation when values have changed
The options of the DefinePlugin no longer have to be covered by build dependencies
2021-03-15 15:19:42 +01:00
Tobias Koppers 18967078cb cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
Tobias Koppers 365a362522 performance optimization
add statistics to ModuleConcatenationPlugin
2021-02-23 10:59:59 +01:00
Tobias Koppers b352f20d2d add "first" to SetHelpers 2021-02-09 21:26:30 +01:00
Tobias Koppers f25345cae9 refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +01:00
Tobias Koppers 97b83161d9 move responsibility of exports info and connected modules hashing from Dependencies to Module
fixes a bug where modules are incorrectly cached when exports info of connected modules change
2021-01-24 21:36:36 +01:00
Tobias Koppers 38c7cf2d85 fix caching crash in ConcatenatedModule
Ensure that no warnings/errors occur during testing
add serialization for some missing warnings
2021-01-08 15:44:26 +01:00
Tobias Koppers 10aa3daede add experiments.layers
add layers to define different module layers
support module layers in stats

add layer support for NormalModules

fixes #11466
2021-01-05 20:50:59 +01:00
Tobias Koppers 63856cc017 get only readonly version of ExportInfo when determining module export type 2020-12-23 20:39:54 +01:00
Tobias Koppers 4c288fead3 compile typings in strict mode to include undefined and null in types 2020-12-16 18:28:49 +01:00
Tobias Koppers 7f691aacdf enable named exports for commonjs as node.js supports it now
fixes #11878
2020-11-03 09:14:59 +01:00
Tobias Koppers 11a7cac537 add useSimpleSourceMap flag to enable/disable OriginalSource for generated code
pass reduced options object to Source.map() function
2020-10-26 16:33:38 +01:00