Commit Graph

76 Commits

Author SHA1 Message Date
alexander.akait 5832888320 feat(css): implemented basic logic 2024-10-16 17:42:26 +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 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 737c16cb11 fix: logic 2024-10-12 13:25:10 +03: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 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 b9d9a5d9ff 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 a592b62686 style: improve style of code 2024-08-02 19:32:14 +03:00
ahabhgk 3afed0618b fix module rule output path 2024-06-10 22:29:15 +08:00
alexander.akait 4809421990 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait fb7c0c637a refactor: strict types for assets and json and other 2023-05-25 01:09:00 +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 5765c9abc1 fix: bugs 2023-04-13 03:10:12 +03:00
Ivan Kopeykin 5f86eb58da add asset modules concatenation 2022-03-11 16:59:28 +03:00
Tobias Koppers 936fa78495 avoid hasing the default encoding 2022-02-28 09:45:00 +01:00
Tobias Koppers 224964601d improve hashing 2022-02-22 12:23:24 +01:00
Tobias Koppers 5a446d81e3 Merge branch 'main' into fix-14839 2022-02-22 11:12:13 +01:00
Ivan Kopeykin f1d329cc0e use nonNumericOnlyHash function for contentHash 2022-02-01 20:10:45 +03:00
Tobias Koppers 17f317bef2 store url as Buffer to avoid serialization warnings
makes deserialization cheaper
2022-01-21 15:52:51 +01:00
Tobias Koppers e2bfe58994 nitpicks 2022-01-19 09:18:17 +01:00
Karlis Gangis 2fc4c8da1b Add 'outputPath' configuration option for resource asset modules 2022-01-18 13:45:42 +02:00
evilebottnawi eaaccf9d6c fix: handle content from loaders 2022-01-17 18:52:55 +03:00
evilebottnawi 420e8b6815 fix: logic 2022-01-17 18:47:49 +03:00
evilebottnawi f21930b588 fix: handle content from loaders 2022-01-12 19:27:37 +03:00
Tobias Koppers ccecc17c01
Merge pull request #14894 from webpack/feature/css-modules
Initial work towards native css support
2021-12-17 23:43:51 +01:00
evilebottnawi 3a5de5b421 fix: info merging for asset modules 2021-12-06 15:15:48 +03:00
Tobias Koppers 8ae9507196 add support for url() in css 2021-12-03 08:46:24 +01:00
Tobias Koppers 77b5589c1a css generation and hmr 2021-12-03 08:46:22 +01:00
Ivan Kopeykin 8d8e2e3fa4 fix asset module hash 2021-11-29 19:37:32 +03:00
Ivan Kopeykin 2b87b64de9 rename to runtimeTemplate.concatenation 2021-11-22 18:11:03 +03:00
Ivan Kopeykin 1bdc48e32b improve runtime template
- add optional chaining support check,
- add template string support check,
- use template string in asset generator
2021-11-21 21:18:11 +03:00
Jan Potoms d9c09ee7f2 Fix generator publicPath behavior when empty string 2021-07-24 17:02:09 +02:00
Tobias Koppers daa40670fc keep original encoding when transforming data url to data url 2021-07-16 20:35:19 +02:00
evilebottnawi c45064f912 fix: encoding 2021-07-16 18:04:30 +03:00
evilebottnawi 478457ba48 fix: case insensitivity 2021-07-16 17:17:23 +03:00
evilebottnawi d25cbc5211 fix: data URI for `image/svg+xml` 2021-07-16 17:14:02 +03:00
Tobias Koppers e6f098903f fixes #13691 2021-07-05 11:22:13 +02:00
Tobias Koppers 973edfbd1b support data urls as input in `new URL` 2021-05-19 11:30:09 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 7f362c816f merge related info correctly 2021-03-22 15:08:06 +01:00
Tobias Koppers c5fa7510f2 remove `output.assetModulePublicPath` as it would be redundant to `module.generator.asset.publicPath`
add test case for assetInfo merging
2021-03-22 15:05:50 +01:00
xiaoxiaojx 55fd79ee6a feat: support assetModulePublicPath 2021-03-20 17:53:01 +08:00