alexander.akait
32717aae42
fix: all filesystem types
2024-03-11 19:33:52 +03:00
alexander.akait
60e5e13eb8
refactor: more types
2023-05-25 01:41:32 +03:00
Karl Horky
1b20278fee
Use full ResolveData type
2022-11-10 10:48:26 +01:00
Karl Horky
660df2fa98
Remove name for variable
2022-10-26 13:21:09 +02:00
Karl Horky
081e8e4c03
Update type
2022-10-26 13:16:38 +02:00
CertainLach
7b87312b5b
Update NormalModuleReplacementPlugin to new api
...
Fix for
```
Error: NormalModuleFactory.afterResolve is no longer a waterfall hook, but a bailing hook instead. Do not return the passed object, but modify it instead. Returning false will ignore the request and results in no module created.
at hooks.afterResolve.callAsync (webpack/lib/NormalModuleFactory.js:192:14)
```
2019-06-16 20:09:54 +05:00
Tobias Koppers
e9c0d068dd
refactor filesystem interfaces
...
add Compiler.intermediateFileSystem
avoid using `path` and `fs` module when possible
move `join`, `mkdirp` and `dirname` into utils
join and dirname is optional in FileSystem interface
remove mkdirp from Filesystem interface
2019-06-11 17:32:58 +02:00
Tobias Koppers
ef9e25d8ea
report dependencies from resolver to the compilation
...
refactor NormalModuleFactory
2019-01-08 15:14:25 +01:00
Florent Cailhol
d881bb4c8f
Add types to various plugins
2018-11-02 21:06:35 +01:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Florent Cailhol
d16ccc9c6f
Use tap() instead of tapAsync() when possible
2017-12-14 15:11:56 +01:00
Florent Cailhol
f737b26260
Remove some plugin calls
2017-12-14 14:42:49 +01:00
Florent Cailhol
36c690d37f
Use tapable instead of 'plugin'
2017-12-08 14:23:31 +01:00
Tim Sebastian
0d1d31cafa
use const where applicable in NormalModuleReplacementPlugin
2017-02-05 10:33:21 +11:00
Carlos Cuatin
600d13cb98
refactor(es6) upgrade NormalModuleReplacementPlugin to ES6 class
2017-01-12 12:25:51 -05:00
Tobias Koppers
f7d799adb4
rebeautify without spacing after keyword
2015-07-16 00:19:23 +02:00
Avi Haiat
0a340f2b1a
feat(app): Beautify all lib files
2015-07-13 01:20:09 +03:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Denis Izmaylov
141d339fe3
Support callbacks in newResource
2014-10-20 22:02:11 +04:00
Rajiv Tirumalareddy
d9b2733c5f
only after-resolve needs absolute path
2014-05-28 00:19:43 -07:00
Rajiv Tirumalareddy
5ceefd7dea
make sure newResource for NormalModuleReplacementPlugin is an absolute path
2014-05-27 12:13:22 -07:00
Tobias Koppers
7a665410ca
added IgnorePlugin, fixed replacement plugins
2013-11-05 18:19:04 +01:00
Tobias Koppers
5adfabb091
added replacement plugins
2013-01-31 02:33:11 +01:00