alexander.akait
b9d9a5d9ff
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
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
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
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
3e3dfd781b
fix(types): more
2024-03-17 20:15:44 +03:00
alexander.akait
2732c57143
refactor: more types
2024-02-16 21:03:51 +03:00
alexander.akait
9f63f7013a
refactor: more types
2024-02-16 20:39:12 +03:00
Nitin Kumar
412ae5425e
chore: udpate prettier to v3
2024-01-14 07:11:34 +05:30
alexander.akait
792ee7e516
refactor(types): more
2023-05-31 14:56:55 +00:00
alexander.akait
be3d54d353
fix: implement CSS imports render
2023-04-25 19:34:44 +03:00
alexander.akait
5c8bccaf28
feat: allow to override module in factory
2023-04-25 19:34:44 +03:00
Sean Larkin
06d5e562c5
Merge pull request #15198 from stefanprobst/fix/pass-package-type-to-loader-runner
...
fix: pass package type to loader runner
2023-04-18 18:42:59 -07:00
alexander.akait
65d17428da
fix: bug
2023-04-18 15:02:05 +03:00
Sean Larkin
765cbff1dc
Merge pull request #16477 from xiaoxiaojx/fix/issue-16466
...
fix: oneOf rule has been picked multiple times
2023-04-05 10:58:26 -07:00
Sean Larkin
fa4cbf11a1
add more module type constants, use them across codebase
2023-03-31 10:56:32 -07:00
Sean Larkin
a3ab4e78b6
Merge pull request #16807 from snitin315/improve-resolve-extention-error
...
fix: improve error message if `resolve.extensions` is invalid
2023-03-27 08:13:32 -07:00
Nitin Kumar
d9604e9003
refactor: move RegExp to a variable and use RegExp.prototype.test()
2023-03-27 12:20:30 +05:30
Sean Larkin
7e5fba30c9
Merge pull request #16806 from snitin315/fix-typo-in-error
...
fix: improve `resolveResourceErrorHints` error message
2023-03-21 08:28:19 -07:00
stefanprobst
e00d817c02
Update lib/NormalModuleFactory.js
2023-03-20 11:35:07 +01:00
Stefan Probst
a8d7412104
fix: pass type to loader for .mjs / .cjs
2023-03-20 08:22:14 +01:00
Stefan Probst
6c03c5a0eb
fix: don't use optional chaining
2023-03-20 08:19:12 +01:00
Stefan Probst
0145c43df8
fix: handle missing `descriptionFileData`
2023-03-20 08:19:12 +01:00
Stefan Probst
29bd40e979
fix: pass package type to loader runner
2023-03-20 08:19:10 +01:00
Nitin Kumar
482ec6d6c5
fix: improve resolve extention hint to be in one line
2023-03-12 16:18:01 +05:30
Nitin Kumar
68f2598bef
fix: improve error message if `resolve.extensions` is invalid
2023-03-11 11:00:12 +05:30
Nitin Kumar
b99aa598e0
fix: improve `resolveResourceErrorHints` error message
2023-03-11 10:20:50 +05:30
xiaoxiaojx
2719ecc91a
fix: oneOf rule has been picked multiple times
2022-11-15 15:17:11 +08:00
Tobias Speicher
8f56fcba72
Replace deprecated String.prototype.substr()
...
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr ) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Ivan Kopeykin
c09d86961d
add NormalModuleFactory hooks types
2022-02-15 18:25:44 +03:00
Ivan Kopeykin
93ad32423f
add parseResourceWithoutFragment to identifier.js
2022-02-03 18:46:54 +03:00
Ivan Kopeykin
312239a712
use real loader path
2022-01-30 19:36:24 +03:00
Tobias Koppers
67d6c7a31b
fix `.webpack[]` suffix to not execute rules
2021-10-08 13:56:39 +02:00
Tobias Koppers
931d14615f
move unsafe cache from NormalModuleFactory to Compilation to skip more processing
2021-09-28 11:37:29 +02:00
Tobias Koppers
765101bded
match resource should not include special `.webpack[...]` extension
...
`.webpack[]` should not be used for resource path
2021-09-03 16:17:41 +02:00
Tobias Koppers
9bf6797416
fix resolving context for redirects
2021-08-05 21:10:39 +02:00
Tobias Koppers
30ebedd4dd
fix handling of new URL() in remote resources
2021-08-05 17:37:37 +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
Sven Sauleau
6c50c81350
Revert "Revert "Merge pull request #12278 from xtuc/sven/import-assertions""
...
This reverts commit 61946b7c46
.
2021-07-24 23:28:30 +01:00
Tobias Koppers
61946b7c46
Revert "Merge pull request #12278 from xtuc/sven/import-assertions"
...
This reverts commit df02bc6c0a
, reversing
changes made to a6f341e243
.
2021-07-16 21:54:21 +02:00
Tobias Koppers
7f22e4721f
match on asserts
...
change Map to Record
improve test case
2021-07-16 13:17:20 +02:00
Sven Sauleau
b166f46f2c
parse import assertions
2021-07-16 13:14:54 +02:00
Tobias Koppers
e6f098903f
fixes #13691
2021-07-05 11:22:13 +02:00
Tobias Koppers
b443555501
this is a workaround to remove compilation-specific references from modules in the unsafe cache
...
I'm not proud of this solution, but it fixes it for now
Long term we might move these kind of references out of the module
into some kind of compilation/module graph specific store.
But that's not yet possible for backward-compat reasons.
2021-07-01 11:46:59 +02:00
Tobias Koppers
973edfbd1b
support data urls as input in `new URL`
2021-05-19 11:30:09 +02:00
Tobias Koppers
eea0aee1a7
catch errors thrown during parser/generation creation
2021-04-30 09:45:14 +02:00