Tobias Koppers
a852828279
add persistent caching prototype
2018-10-17 21:25:39 +02:00
Florent Cailhol
7669104f71
Deprecate moduleIds=hashed in favor of moduleIds=deterministic
...
Also remove moduleIds=total-size
2018-10-12 17:14:16 +02: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
17044bf9c6
Merge tag 'v4.20.0' into next
...
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers
d48975c948
use types from schema
2018-09-21 11:04:19 +02:00
Tobias Koppers
56c613a669
add moduleIds deterministic for simpler long term caching
2018-09-18 17:49:19 +02:00
Tobias Koppers
b4860ccebb
refactor chunk id plugins
2018-09-05 14:28:52 +02:00
Tobias Koppers
4d7b5b3b5e
Refactor module id plugins to be independent
2018-09-03 20:45:44 +02:00
Florent Cailhol
8fda6a562e
Add NaturalModuleIdsPlugin
2018-09-03 20:12:55 +02:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Florent Cailhol
0448c1c338
Use chunkIds and moduleIds
2018-07-14 21:59:42 +02:00
Tobias Koppers
9f0056b10d
Merge pull request #7686 from webpack/feature/module-chunk-ids-option
...
add new options moduleIds and chunkIds
2018-07-10 10:19:03 +02:00
Tobias Koppers
3fc4eb752f
add new options moduleIds and chunkIds
...
deprecate namedModules, hashedModuleIds, namedChunks
add a lot of TODOs for webpack 5
split OccurenceOrderPlugin into separate plugins for modules and chunks
add NaturalChunkOrderPlugin and enable it in development
2018-07-09 15:06:19 +02:00
zroug
b892065db0
Added support for WebAssembly modules when target is `electron-renderer`
2018-07-09 14:39:48 +02:00
Tobias Koppers
39d0bcb595
spacings
2018-06-07 14:22:35 +02:00
Tobias Koppers
5c604f93f6
Merge branch 'master' into feat-implement-option-for-hashed-module-ids-plugin
2018-06-07 14:21:09 +02:00
Mrkou47
d6d7119778
change variable defined identifier let to const
2018-06-07 14:37:08 +08:00
Tobias Koppers
8e3be48da4
allow to disable wasm import mangle
...
disable it by default (temporary)
2018-06-05 23:49:02 +02:00
Tobias Koppers
78b31936c3
add checkWasmTypes flag, enabled it only in production
2018-06-04 20:14:08 +02:00
Sven SAULEAU
928d051aae
Merge remote-tracking branch 'upstream/master' into fix-wasm-check-for-invalid-signatures
2018-05-30 15:31:31 +02:00
Sven SAULEAU
fbd9d0d3a8
feat(wasm): add finalizer for checking exports
2018-05-30 12:45:05 +02:00
Florent Cailhol
2a9452e51b
Add brackets for multiline if/for statements
2018-05-29 15:45:44 +02:00
evilebottnawi
c222a6f33b
feat: implement option for `HashedModuleIdes` plugin
2018-05-25 16:41:20 +03:00
Tobias Koppers
82a71be1dc
Cleanup, refactoring, types
2018-04-27 18:53:07 +02:00
Tobias Koppers
d91caea860
Pretty files for updated prettier version
2018-04-26 20:14:45 +02:00
Florent Cailhol
eebf0866a9
Use correct function arity
2018-04-04 08:53:58 +02:00
Florent Cailhol
f1092ad516
Update prettier toolchain
2018-03-26 16:56:10 +02:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
EugeneHlushko
9cf9e3e2b3
Bugfix #6051 : add `original-fs` to externals for electron targets
2018-02-18 13:27:46 +02:00
Tobias Koppers
9599e4eb61
fix typo: mergedDuplicateChunks -> mergeDuplicateChunks
2018-02-13 12:41:30 +01:00
Ben Rothman
c26c872bb2
add "single" option to RuntimeChunkPlugin
2018-01-26 22:03:56 -06:00
Tobias Koppers
18ae73dad4
Refactor chunk graph
...
Chunks are now always in ChunkGroups
ChunkGroups have parents and children, Chunks no longer have this
AsyncDependenciesBlocks point to a ChunkGroup instead of a list of chunks
Entrypoint is now a ChunkGroup (extends from it)
move stuff graph modification methods into GraphHelpers
Change chunk id recording to source-based
Chunks have parents, siblings and children in Stats
rename AutomaticCommonsChunksPlugin to SplitChunksPlugin
add request property to origin (ChunkGroup)
remove moveToParent from AggressiveMergingPlugin
fix issues with AggressiveSplittingPlugin
remove CommonsChunkPlugin
add optimization.runtimeChunk (RuntimeChunkPlugin)
fix a filename bug for initial chunks
remove extract-text-webpack-plugin from test suite
add DebugHash to help debugging hash issues
fix issues with entry modules in different chunk as runtime
redo optimization.splitChunks options
Compilation.entrypoints is now a Map
Compilation.chunkGroups has been added
remove some unittests
update examples
update tests with CommonsChunkPlugin
2018-01-19 19:21:30 +01:00
Tobias Koppers
7112943ca4
Merge pull request #6298 from EugeneHlushko/refactor/indexof-to-includes
...
Refactor/indexof to includes
2018-01-11 22:45:02 +01:00
EugeneHlushko
2aab060f26
Refactor: indexOf >< checks to includes
2018-01-11 18:58:39 +02:00
Tobias Koppers
acdabb1427
linting, comment and minor improvements
2018-01-10 19:22:25 +01:00
Tobias Koppers
85acfeb1c2
allow to use new options minSize, maxRequests
2018-01-10 18:58:27 +01:00
Tobias Koppers
b34663cb2d
add more config options
...
fix bugs
2018-01-10 18:58:27 +01:00
Tobias Koppers
417044f065
add AutomaticCommonsChunksPlugin
...
enable it by default for async chunks
add options for initial chunks
2018-01-10 18:58:26 +01:00
Tobias Koppers
d95f93f8cb
add output.globalObject configuration option
...
remove deprecated atom and electron target
add self libraryTarget
add self external type
2017-12-27 18:46:37 +01:00
Florent Cailhol
7dd41b55c6
Replace deprecated Tapable#apply by Plugin#apply
2017-12-20 11:53:56 +01:00
Florent Cailhol
08ddad2e10
Replace NormalModuleFactory#plugin() calls
2017-12-14 14:42:49 +01:00
Tobias Koppers
2148f556a4
Enable minimizing in production mode
2017-12-14 00:06:56 +01:00
Tobias Koppers
fabe631a83
Only generate portable records when needed
2017-12-01 11:27:03 +01:00
Tobias Koppers
31e9625dfe
upgrade tapable for Compiler
2017-11-27 21:01:44 +01:00
Tobias Koppers
2201b860a5
Add mode option and choose defaults depending on mode
...
add optimization options
use development mode for watch/hot/config tests
use production mode for integration/stats tests
create output directory if not existing
move __esModule to runtime
fix dependency behavior for cases without usedExports
2017-11-24 08:17:17 +01:00
Tobias Koppers
5e39ec46ee
Allow to override resolve configuration
2017-11-18 08:12:35 +01:00
Tobias Koppers
982e44f670
Merge branch 'next' into master
2017-11-16 14:17:29 +01:00
Tobias Koppers
00f2b5ede7
advanced module type refactoring
...
added json type
.mjs default to javascript/esm type
adjusted parser plugins to react on module type
2017-11-11 19:27:19 +01:00
Tobias Koppers
4597805222
Merge branch 'next' into master
2017-11-11 19:00:05 +01:00
Tobias Koppers
0ae5fede3d
move parser creation into separate plugins
2017-11-10 11:36:46 +01:00