Commit Graph

13 Commits

Author SHA1 Message Date
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