Alan Zhang
269efb9fd7
Never apply NodeStuffPlugin when "node" set to false
2019-04-24 10:40:51 +08:00
Tobias Koppers
7ed1a8f88d
Merge pull request #8890 from timneutkens/add/option-to-disable-amd
...
Allow options.amd to disable AMDPlugin/RequireJsStuffPlugin
2019-03-15 09:45:54 +01:00
Connor Davis
bf020dfe7b
Do the same for the rest of the plugins
2019-03-11 16:26:05 -05:00
Connor Davis
23687c6336
Only require if needed
2019-03-11 16:18:50 -05:00
Tim Neutkens
001960600d
Run yarn fix
2019-03-10 17:13:53 +01:00
Tim Neutkens
d02817619f
Allow options.amd to disable AMDPlugin/RequireJsStuffPlugin
...
Introduces a new value `false` for `options.amd` that disables AMD support completely.
This would mainly be useful in for example ncc, Next.js etc where it’s either fully commonjs/esmodules (ncc) or fully esmodules (Next.js)
2019-03-10 16:31:35 +01:00
Tobias Koppers
b25ff237bb
Prettify source code
2019-02-05 10:08:45 +01:00
Tobias Koppers
d8ab512c34
Merge pull request #8565 from NaviMarella/ProfilingPlugin_8503
...
Fixed error in Profiling Plugin, if given folder path doesn't exist.
2018-12-29 04:47:17 -05:00
Tobias Koppers
d48975c948
use types from schema
2018-09-21 11:04:19 +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
Tobias Koppers
41a1d602e1
added WebAssembly Proof of Concept
2017-11-10 09:17:11 +01:00
Stephan Badragan
68acd41bff
passing namespace argument to contructors of dev tool plugins
2017-10-19 13:23:28 -07:00