Commit Graph

47 Commits

Author SHA1 Message Date
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 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 5725254415 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 a260df0fff chore: fix prettier 2024-07-30 17:21:50 +03:00
alexander.akait 93b3008fc0 chore: improve jsdoc eslint rules 2024-07-30 15:26:24 +03:00
alexander.akait de6d4b2f4c style: fix 2024-06-11 16:30:09 +03:00
alexander.akait ab3e93b19e style: fix 2024-06-11 16:09:50 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
alexander.akait ede77bcb20 refactor(type): small improve 2023-05-01 00:58:34 +03:00
Ivan Kopeykin 5e1266362d fix regexp 2022-02-04 18:12:20 +03:00
Ivan Kopeykin 93ad32423f add parseResourceWithoutFragment to identifier.js 2022-02-03 18:46:54 +03:00
Tobias Koppers c76be4d738 make some things context-independent
* ConcatenatedModule.identifier()
* NormalModule source urls

fixes #14014
2021-08-19 14:57:39 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 7dc945f147 allow to place runtime outside of the output path 2021-03-16 13:07:58 +01:00
Tobias Koppers 3390ab4c32 update enhanced-resolve and loader-runner for fragment escaping support
add fragment escaping support

fixes #11555
2020-09-30 10:22:26 +02:00
Tobias Koppers 305dab3ae1 improve and fix backtracing to root folder from nested directories 2020-08-04 09:36:49 +02:00
Tobias Koppers 5f4c4662dd rename parsePathQueryFragment to parseResource and add caching 2020-07-06 17:39:52 +02:00
Tobias Koppers 7dad1c1c30 refactor scheme handling into plugins 2020-07-03 17:01:02 +02:00
evilebottnawi dafa4cd69a chore: setup cspell 2020-03-12 19:51:26 +03:00
Tobias Koppers c80bae2959 faster cache access of contextify 2020-01-15 11:20:22 +01:00
Tobias Koppers b90f3e14a1 upgrade webpack-sources
make source maps and source names context independent

add enhanced-resolve declarations
add types to Module.build
fix tooling for import order to support import renaming
add support for concatenated modules in eval source maps
2019-11-12 08:59:08 +01:00
Tobias Koppers d40f7b2642 cache contextify and pass associatedObjectForCache to all calls 2019-01-19 12:40:00 +01:00
Tobias Koppers 2143bd6519 Reduce number of allocations
Hoist RegExp
Avoid creating array object
Avoid join
Fast case for request without query
improve test cases
fixes a bug where query was omitted with multiple query separators
2018-12-26 11:13:44 +01:00
Mihail Bodrov 972d9bf8cb Optimize absoluteToRequest 2018-12-23 15:30:28 +03:00
Tobias Koppers d71fdf0a29 don't split identifier at space, as space could to part of paths 2018-12-08 09:29:21 +01:00
Tobias Koppers 4c965bfbab simplify regex 2018-12-08 09:21:35 +01:00
Tobias Koppers 5563ee9e58 use makePathsRelative instead of contextify
unify contextify and makePathsRelative
separate NormalModuleFactory ignored, ContextModule and ConcatenatedModule identifier with "|"
2018-12-07 18:12:04 +01:00
Tobias Koppers 7340fbb547 refactor Cache
add a new hookable Cache class
removed CachePlugin
add MemoryCachePlugin
refactor timestamps
create FileSystemInfo class
2018-09-27 13:20:19 +02:00
Tobias Koppers c21d59f783 Merge tag 'v4.17.0' into next
4.17.0
2018-08-21 11:02:16 +02:00
Mihail Bodrov 1f954b4f12 Get rid typeof undef in all lib 2018-08-21 03:26:50 +03:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers fb2c24bf76 add `splitChunks.maxSize` option
add `splitChunks.fallbackCacheGroup`
add `splitChunks.hidePathInfo`
move `contextify` into utils
add some types
2018-07-04 10:45:02 +02:00
Jonathan del Strother 6bf9479af2 Don't record absolute paths for regexps used in dynamic requires
This avoids records like:

"src/dependencies sync ../../../../^/.//.*$": "./src/dependencies sync recursive ^\\.\\/.*$"

with the number of "../"s varying according to the depth of the folder you're building from.

Fixes #7339
2018-05-21 09:49:35 +01:00
Tobias Koppers f2ad440de8 More strict linting of jsdocs
Use TODO over any when type is possible
2018-05-08 14:53:33 +02:00
Sean Larkin f7790f8382 update typedef to be more readable with @property 2018-04-20 15:37:42 -06:00
Sean Larkin 0dbbcdd82b refactor(types): add type comments for util/identifier 2018-04-14 14:31:11 -07:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Tobias Koppers 0a540b4147 added semis 2017-07-18 09:10:00 +02:00
Tobias Koppers c061c33e0f reduce number of calls to Map 2017-07-18 08:48:39 +02:00
asolove 648d78dab5 Fix lint failure. 2017-07-17 23:06:59 -06:00
asolove 3f1b7e624c Store relative path cache on compilation to avoid leaking memory. 2017-07-17 23:06:59 -06:00
asolove 164ce366c0 Cache module relative paths to speed up builds with lots of modules & chunks.
It seems like AggressiveSplittingPlugin generates relative paths for each (module,chunk) pair, so it was taking up a lot of time.
2017-07-17 23:06:59 -06:00
Tim Sebastian 2bff188fa3 make paths for records agnostic of OS 2017-04-07 23:37:42 +10:00
Tim Sebastian ed51e2ff2c unify makeRelative method used in aggresivesplittingplugin and recordsidsplugin 2017-04-05 23:38:15 +10:00