Commit Graph

80 Commits

Author SHA1 Message Date
Alexander Akait 16c6966b14
fix: types 2025-09-11 03:10:10 +03:00
Alexander Akait 703d9acfe7
style: set `arrowParens` to `true` (#19706)
Github Actions / lint (push) Waiting to run Details
Github Actions / validate-legacy-node (push) Waiting to run Details
Github Actions / benchmark (1/4) (push) Waiting to run Details
Github Actions / benchmark (2/4) (push) Waiting to run Details
Github Actions / benchmark (3/4) (push) Waiting to run Details
Github Actions / benchmark (4/4) (push) Waiting to run Details
Github Actions / basic (push) Waiting to run Details
Github Actions / unit (push) Waiting to run Details
Github Actions / integration (10.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (10.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (12.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (14.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (16.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (18.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (20.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (22.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, macos-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, ubuntu-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, a) (push) Blocked by required conditions Details
Github Actions / integration (24.x, windows-latest, b) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, a, 1) (push) Blocked by required conditions Details
Github Actions / integration (lts/*, ubuntu-latest, b, 1) (push) Blocked by required conditions Details
2025-07-16 19:13:14 +03:00
Alexander Akait 87f648ebf0
chore: eslint more rules (#19648) 2025-07-03 12:06:45 +03:00
alexander-akait 70bdb248e4 fix: no `Function` types 2025-03-13 19:34:04 +03:00
alexander-akait a1df00d339 refactor: improve eslint configuration and better types 2025-03-12 04:56:14 +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
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 1805436d3b fix: types 2024-08-07 21:59:26 +03:00
alexander.akait 93743d233a refactor: code 2024-08-02 19:32:31 +03:00
alexander.akait 500ee96dcb 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 7b4775cebe fix(types): fix some types 2024-03-21 15:16:51 +03:00
alexander.akait 33cd20a180 fix(types): watching and more 2024-03-14 18:15:13 +03:00
alexander.akait a1f46a9ac3 fix: types 2024-02-21 17:55:02 +03:00
Ivan Kopeykin c872a68204 fix resource name when filename is data uri
- infer extention from mime type
- set path like replacement to empty string
2022-02-01 17:47:32 +03:00
Tobias Koppers d3035701f4 add test case for large assets 2021-06-29 13:08:38 +02:00
Tobias Koppers d46f945572 fix problem when HMR and different runtimes
allow HMR to work in WebWorkers too
2020-11-28 13:53:32 +01:00
Tobias Koppers b929d4cdce calculate real content hash for assets after asset processing 2020-08-18 22:07:24 +02:00
Tobias Koppers 29c3c5579d use parseResource util function
add support for [fragment] too
2020-08-03 23:08:04 +02:00
evilebottnawi 70b44a7f86 feat: support `[query]` for asset modules 2020-08-03 23:08:01 +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 36cf3039aa use content hashes for assets 2020-07-20 08:45:27 +02:00
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Tobias Koppers eeafeee32a
Merge pull request #9950 from webpack/dependabot/npm_and_yarn/prettier-1.19.1
chore(deps-dev): bump prettier from 1.18.2 to 1.19.1
2019-11-15 12:05:46 +01:00
Tobias Koppers 497b65e122 run prettier 2019-11-15 10:56:01 +01:00
Sergey Melyukov a214be41a0 add deprecation codes 2019-11-14 17:03:15 +03:00
Tobias Koppers 53f68c9e7b update deprecated usage of chunk and main templates 2019-10-08 23:46:33 +02:00
Tobias Koppers 7bde43f47a Merge tag 'v4.40.0' into next
4.40.0
2019-09-13 11:12:26 +02:00
Tobias Koppers 758269e814 add emit/updateAsset to Compilation
add asset info with
* immutable for long term cache-able asset
* size for the asset size in bytes
* development for devtools
* hotModuleReplacement for HMR assets

show asset info in stats
2019-09-11 14:43:42 +02:00
Tobias Koppers b73d35bbee Merge tag 'v4.39.0' into next
4.39.0
2019-08-05 13:12:09 +02:00
JJ Kasper b72a308a08
Move escaping to getReplacer and update un-escaping 2019-07-23 10:42:36 -05:00
JJ Kasper d8754873f6
Apply suggestions from code review
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2019-07-23 10:37:07 -05:00
JJ Kasper 362e5d37d6
Escape path variables in replaced values 2019-07-22 17:33:39 -05:00
Tobias Koppers 1d72a05fed Merge tag 'v4.36.0' into next
4.36.0
2019-07-17 16:02:33 +02:00
shawtung 1f22f358fa Add [file] placeholder for sourceMappingURL 2019-07-04 11:38:40 +08:00
Tobias Koppers 25d286014c fix a memory leak 2018-11-30 11:19:14 +01:00
Tobias Koppers 32db215dda minor fixes for #8109 2018-11-05 09:13:40 +01:00
Tobias Koppers cc28367a78
Merge pull request #8109 from webpack/refactor/templatedPaths
refactor(TemplatedPathPlugin): split placeholder context (`chunk|module`)
2018-11-05 09:03:00 +01:00
Florent Cailhol d881bb4c8f Add types to various plugins 2018-11-02 21:06:35 +01:00
Tobias Koppers f5c3bedf8e replace with a single regexp
for performance reasons
2018-11-01 20:23:11 +01:00
Tobias Koppers b590e4ba8e refactor placeholders a bit
add deprecation message to old placeholders
group them by context
2018-11-01 20:23:10 +01:00
Tobias Koppers b4b5223469 refactor method to use a replacements map 2018-11-01 20:23:09 +01:00
Tobias Koppers 197e98a845 filename is always a string 2018-11-01 20:23:09 +01:00
Michael Ciniawsky 56c49bdc9d refactor(TemplatedPathPlugin): split placeholder context (`chunk|module`) 2018-11-01 20:23:09 +01:00
Tobias Koppers a262b83580 remove globalPath and useChunkHash feature
It's no longer needed, because we hash the runtime how
2018-10-24 09:39:51 +02:00
Tobias Koppers 149043a134 Make create chunk and module ids filename safe 2018-09-05 21:29:22 +02:00
Tobias Koppers bad9d8a271 move Module.id into ChunkGraph
remove disconnect and unseal from Module
2018-08-28 15:08:52 +02:00
Tobias Koppers 3aa2280498 move Module.hash and .renderedHash into ChunkGraph 2018-08-22 19:24:54 +02:00