Ryan Tsao
573f2ae0bb
Merge branch 'master' into crossorigin-attr
2018-04-19 14:11:37 -07:00
Tobias Koppers
3417da594d
preload in parallel to script download
2018-04-16 19:35:02 +02:00
Tobias Koppers
17eb5b4700
rename priority to order
2018-04-16 18:00:34 +02:00
Tobias Koppers
9cb1a66317
add support for link preload/prefetch
...
`import(/* webpackPrefetchPriority: 10 */ "...")`
`import(/* webpackPreloadPriority: 10 */ "...")`
2018-04-16 11:29:25 +02:00
Ryan Tsao
9a87c20d1c
Ensure script src is set last, except for crossorigin attribute
2018-04-11 11:40:16 -07:00
Ryan Tsao
7daecaf8f0
Add script src check so crossorigin attributes only added when needed
2018-04-10 17:25:56 -07:00
Sven SAULEAU
6f5560c5d5
Merge remote-tracking branch 'upstream/master' into feat-rewrite-wasm
2018-03-29 13:53:46 +02:00
Sven SAULEAU
0476eb4499
Merge branch 'master' into feat-rewrite-wasm
2018-03-29 12:35:48 +02:00
Florent Cailhol
f1092ad516
Update prettier toolchain
2018-03-26 16:56:10 +02:00
Tobias Koppers
296542ed79
add [contenthash] support
2018-03-24 12:08:36 +01:00
Florent Cailhol
3983803d30
Destructure 'require' to improve readability
2018-03-22 12:05:58 +01:00
howdy39
d628f90075
Add end of statement semicolon
2018-03-21 14:48:08 +09:00
EugeneHlushko
422236f0c4
fix(bug) #5964 convert MS into S for scripts timeout attr
2018-03-18 13:44:32 +02:00
Sven SAULEAU
405fea6719
refactor: move specific stuff out of the base method
2018-03-14 19:05:05 +01:00
Fernando Montoya
10ffa3ebfb
Merge branch 'master' into feat-rewrite-wasm
2018-03-14 18:50:33 +01:00
Sven SAULEAU
c2f1c4f123
refactor: use base plugin for web and node
2018-03-14 16:13:03 +01:00
Sven SAULEAU
d2dd6c12d4
fix(wasm): remove dead code
2018-03-14 15:04:26 +01:00
rhysd
81e47b6eaf
Fix typos
2018-03-13 18:05:58 +09:00
Sven SAULEAU
6d906d04d0
fix: improved wasm transformations
2018-03-12 11:43:20 +01:00
Sven SAULEAU
1ff76a5bb1
refactor: use init function
2018-03-09 19:03:33 +01:00
Sven SAULEAU
5c6c50bd2e
feat: try with a Table
2018-03-09 12:04:27 +01:00
Sven SAULEAU
faff92c52b
feat: use instantiateStreaming
2018-03-08 17:54:06 +01:00
Josh Soref
b39266121a
spelling: assembly
2018-02-26 02:25:03 +00:00
Tobias Koppers
f32bd41c52
fix linting
2018-02-25 02:15:37 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Florent Cailhol
d4811b0d37
Use for-of loops instead of forEach
2018-01-23 22:53:18 +01:00
Tobias Koppers
ea609374f7
split Chunk.isInitial into isOnlyInitial and canBeInitial
...
remove includeInitial argument of getChunk(Module)Maps
2018-01-22 12:52:28 +01: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
45f8a28b44
Merge branch 'master' into next
...
# Conflicts:
# lib/JsonpMainTemplatePlugin.js
# lib/NoEmitOnErrorsPlugin.js
2018-01-04 20:59:34 +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
Sean Larkin
3e6aaf9b67
fix mispelled hook
2017-12-23 05:41:57 -08:00
Sean Larkin
ad10141c38
feat(tapable): convert JsonpMainTemplatePlugin to use .tap
2017-12-22 22:13:13 -08:00
Sean Larkin
30ac70083d
Merge pull request #6101 from webpack/feature/tapable-upgrade-json-export-main-template-plugin
...
feat(tapable): upgrade other template plugins
2017-12-22 21:38:05 -08:00
Florent Cailhol
7dd41b55c6
Replace deprecated Tapable#apply by Plugin#apply
2017-12-20 11:53:56 +01:00
Sean Larkin
fb5351ec25
Merge branch 'next' into feature/tapable-upgrade-json-export-main-template-plugin
2017-12-15 23:48:48 -08:00
Sean Larkin
6554845d18
fix: failing tests, typo, and missing .tap fn
2017-12-15 23:46:41 -08:00
Sean Larkin
54178cbc19
add proper plugin names, rever ruleset change, reverse order of used function
2017-12-15 17:07:32 -08:00
Sean Larkin
18953ff743
fix(eslint): correct keyword after spacing rule for eslint)
2017-12-15 16:23:46 -08:00
Sean Larkin
5eee030cae
fix(tapable): refactored calls to iterator and add some destructuring
2017-12-15 16:14:19 -08:00
Florent Cailhol
3be3878d56
Use templates' Tapable#hooks
2017-12-15 15:16:57 +01:00
Florent Cailhol
f737b26260
Remove some plugin calls
2017-12-14 14:42:49 +01:00
Tobias Koppers
91e6692362
extract exports from wasm module
...
mangle used exports
fix esm flag
2017-12-14 13:05:03 +01:00
Tobias Koppers
86786811e4
Merge pull request #6085 from webpack/refactor/static-template
...
make all methods on Template static
2017-12-08 17:59:15 +01:00
Florent Cailhol
36c690d37f
Use tapable instead of 'plugin'
2017-12-08 14:23:31 +01:00
Sean Larkin
25c135aa82
feat(tapable): upgrade other template plugins
2017-12-08 02:05:45 -08:00
Tobias Koppers
16ee68b5f9
make all methods on Template static
2017-12-07 09:49:50 +01:00
Tobias Koppers
56328a7cab
upgrate tapable in Templates
2017-11-28 18:43:01 +01:00
Tobias Koppers
6bb24367b2
Merge branch 'master' into next
...
# Conflicts:
# lib/JsonpMainTemplatePlugin.js
# test/WebWorkerMainTemplatePlugin.unittest.js
# yarn.lock
2017-11-27 08:59:30 +01:00
Tobias Koppers
8363773f3f
only emit wasm runtime code for bundles containing wasm
2017-11-21 12:57:40 +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
Oleg Pimenov
667ac58c96
refactor(WebEnvironmentPlugin): upgrade to ES6 ( #3790 )
2017-01-05 11:34:34 -06:00
Sean Larkin
aa8d01bf8d
refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot ( #3636 )
...
* refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot
* This change allows for buildin to now be part of the lint test by addition of an extra .eslintrc file which extends existing but sets es6 to false
* Turned on no-unused-vars for eslint, and then removed all warnings from turning that feature on
* Was getting notified of errors in "quote" property in eslintrc, so changed to correct value from error to 2.
* beautify
* swap invalid eslint config val
2016-12-30 09:43:49 -06:00
Tobias Koppers
f4ab7fc7e2
more performance improvements
2016-12-14 16:22:54 +01:00
Avi Haiat
daff7440a6
feat(app): Fix some obvious lint errors and warnings
2015-07-08 15:52:41 +03:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
58586f8ae2
make it webpack-able
2013-07-10 23:20:07 +02:00