Commit Graph

373 Commits

Author SHA1 Message Date
Tobias Koppers 1bc572a385 rename side-effects to sideEffects 2017-10-12 17:32:41 +02:00
Tobias Koppers 03b0ff2c9c Merge branch 'master' into next 2017-10-11 12:42:31 +02:00
Landon Crapo f63b17245e fixed common-chunk-grandchildren example
* fixed README.md
 * pass error to done in test
2017-10-09 13:43:03 -06:00
Landon Crapo 87bff6cd98 fixed common-chunk-grandchildren example
* using set instead of array
 * example of async use case
2017-10-09 10:29:38 -06:00
Landon Crapo cbd8a46e4c Fixed Node v4 error in tests.
destructuring not supported in Node v4
2017-10-05 17:03:25 -06:00
Landon Crapo 4f9fc01be4 Added deepChildren support from ArcEglos' pull request and fixed failing tests 2017-10-05 15:31:29 -06:00
Tobias Koppers 794b883f0a Merge branch 'next' into deprecation/webpack-3 2017-09-22 14:30:04 +02:00
Tobias Koppers c383d5ea7f rename `pure-module` to `side-effects` 2017-09-14 15:12:36 +02:00
Ben Lowery 580fc5f0e8 rewrite README.md a bit to make it clearer
mostly copyediting for grammar and tone
2017-09-14 09:44:45 +02:00
Tobias Koppers 7ceac63f07 add support for pure modules 2017-09-14 09:44:42 +02:00
Tobias Koppers 4105297de6 Merge branch 'next' into deprecation/webpack-3 2017-09-11 11:26:44 +02:00
Fu Xiao 633eac42bb typo fix
`HTT2` seems typo of `HTTP2`
2017-08-31 21:11:06 -05:00
Tobias Koppers a2601c38b6 update examples 2017-08-08 14:00:06 +02:00
Tobias Koppers 1869688953 fix building of examples 2017-08-08 13:56:14 +02:00
Tobias Koppers 39051df434 update example 2017-08-07 21:22:32 +02:00
Tobias Koppers a83279ed92 gitignore generated example files 2017-08-02 20:40:43 +02:00
Tobias Koppers 15c0160787 add dll-app-and-vendor example by @aretecode 2017-07-27 13:52:38 +02:00
Tobias Koppers d411468639 Refactor example scripts and test to allow nested folders 2017-07-27 13:24:56 +02:00
Pierre Neter 940fab0ccd Update README.md of Examples 2017-06-20 17:42:46 +07:00
Tobias Koppers 645867ed7e use module.rules instead of module.loaders 2017-06-14 14:58:16 +02:00
Tobias Koppers 94d2d24f67 minor fixes 2017-06-09 17:29:47 +02:00
Tobias Koppers ac92de5b50 update example 2017-06-07 12:58:09 +02:00
Tobias Koppers 3455d7bb02 update examples 2017-06-05 16:12:12 +02:00
Tobias Koppers 4901312abf Merge branch 'master' into next
# Conflicts:
#	test/statsCases/commons-chunk-min-size-0/expected.txt
#	test/statsCases/limit-chunk-count-plugin/expected.txt
2017-05-29 00:41:59 +02:00
Tobias Koppers 859b8cde6b updated examples 2017-05-22 22:45:18 +02:00
Tobias Koppers 9f8cdd28a9 add missing file 2017-05-21 23:41:33 +02:00
Tobias Koppers c41ab084f6 fix export mangling in concatenated modules 2017-05-21 09:15:42 +02:00
Tobias Koppers 9b2a9fa786 Scope Hoisting 2017-05-21 09:15:41 +02:00
Kodai Nakamura 60f154fb11 archieved —> achieved 2017-05-16 21:56:48 +09:00
DONGSHIH TENG b59e1790cc 'it it' => 'in in' 2017-05-15 11:34:25 +09:00
DONGSHIH TENG 413779bb34 it it=> it in 2017-05-14 00:29:55 +09:00
Arete Code f223aecd05 rebase for semicolon 2017-04-21 15:48:06 -07:00
Arete Code 914fe2c923 Merge branch 'master' of github.com:webpack/webpack into examples-dll-readme-update2 2017-04-21 15:47:19 -07:00
Huy Nguyen 6124837c41 Update template.md 2017-04-20 16:58:20 -04:00
Arete Code fa2c16aee9 👕 add back eslint-disable-line on missing require 2017-04-19 12:51:49 -07:00
Arete Code a1b917ecc3 🆙 updated dll example descriptions on dll-user 2017-04-19 12:45:58 -07:00
Arete Code 1670467093 🆙📘 updated dll example reference readme
🆙📘 updated dll example descriptions
🔗📖 added links to dll documentation in the examples
2017-04-19 12:45:42 -07:00
Huy Nguyen a5d441c530 Fix indentation 2017-04-17 14:03:09 -04:00
Simon Legner 0ef0581201 Add example demonstrating all source-map variants 2017-04-13 00:17:18 +02:00
Tobias Koppers e4bb4d5296 updated example 2017-04-10 11:44:59 +02:00
Ma Cheng 1fdf800f09 Merge branch 'master' into feature/import-chunk-name 2017-04-06 11:35:40 +08:00
Tobias Koppers 9bb19e69f5 generate correct chunkhash configuration in example
fixes #4396
2017-04-04 10:48:59 +02:00
Tobias Koppers 3b7e8d2e6b fix gfm formating issue
fixes #4580
2017-03-30 20:42:42 +02:00
Tobias Koppers 2535c52612 updated examples 2017-03-30 20:25:01 +02:00
mc-zone 0b1b9265fb Fix indentation. 2017-03-28 10:42:18 +08:00
mc-zone c7b932b12b Add code-splitting-specify-chunk-name examples. 2017-03-26 18:45:49 +08:00
Rouzbeh Sarrafieh a5272e8515 hotlink examples in readme 2017-03-18 03:48:31 -07:00
shotat ff90624860 fix typo 2017-03-04 19:23:25 +09:00
Tim Sebastian 2c14f6cd2c remove labeled modules leftovers 2017-02-25 01:10:38 +11:00
Tobias Koppers 3edf64534b Merge pull request #4273 from webpack/test/dep-and-etp
updated api for extract-text-webpack-plugin
2017-02-16 10:59:32 +01:00
Tobias Koppers 86f7df128a Merge pull request #4286 from abaracedo/fix-typo-1
Fix typo
2017-02-15 19:59:48 +01:00
Alejandro Bar Acedo 2317f980c2 Fix typo in template 2017-02-15 19:00:43 +01:00
Tobias Koppers 8f9b4721eb replace loader with use for the ETP 2017-02-15 14:38:19 +01:00
Alejandro Bar Acedo f01f04e1bd Fix typo
This PR only fixes a typo
2017-02-14 21:12:45 +01:00
Tobias Koppers 3a8c32bea6 Merge pull request #4280 from simon04/issue-4270
Fix name of contexts created using `import()`
2017-02-14 11:44:27 +01:00
jigsaw 4c6e40f65c
fix typo 2017-02-14 06:28:02 +09:00
Simon Legner c5b0dffa5f Fix name of contexts created using `import()` 2017-02-13 21:48:10 +01:00
Tobias Koppers 5a135a7264 updated api for extract-text-webpack-plugin 2017-02-13 12:33:49 +01:00
Simon Legner e2a883f11a Regenerate examples 2017-02-13 08:49:35 +01:00
Simon Legner 278a3b00a8 Use import() instead of System.import in examples 2017-02-13 08:49:13 +01:00
Tobias Koppers c49bfdf921 updated move to parent example and add test case 2017-02-06 11:17:08 +01:00
Jer 77705e106c changed example to made coverage pass. It also seemed like the common functionality may not be working correctly 2017-01-23 22:59:17 -06:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Tobias Koppers 484dfde58f regenerated examples 2016-12-23 09:24:32 +01:00
Tobias Koppers a11fa89dc9 add harmony-library example 2016-12-23 09:24:28 +01:00
Tobias Koppers 5e2e0cdbc0 fix loader example 2016-12-23 09:24:25 +01:00
Tobias Koppers 54fe536b54 bettter example templating 2016-12-23 09:24:18 +01:00
Tobias Koppers 3bd4a4c708 only use ES6 modules in example
use file reference to add file content to template
regenerate README
2016-12-14 12:24:18 +01:00
Sean Larkin 34ebd401da update readme some more 2016-12-09 22:59:20 -06:00
Sean Larkin c35ca4e4ad feat(examples): add example for context modules + code split via import() 2016-12-09 22:58:29 -06:00
Sean Larkin bd3d830909 Merge pull request #3443 from fhdhsni/master
Fix a trivial typo
2016-12-07 19:02:23 -06:00
Sean Larkin dab0efef5b Merge pull request #3441 from webpack/fix/harmony-spelling
Fix spelling of "harmony"
2016-12-07 16:50:25 -06:00
Farhad 6fefe1524e fixing a trivial typo 2016-12-07 22:57:33 +03:30
Johannes Ewald a59672a5e1
Fix spelling of "harmony" 2016-12-07 19:14:47 +01:00
Johannes Ewald 56b9aabc22
Update examples and README to reflect that the json-loader is not required anymore 2016-12-07 11:44:12 +01:00
Tobias Koppers 91cbb4c288 removed DedupePlugin
it's no longer needed for npm3
and causes many issues
2016-11-15 09:25:58 +01:00
Johannes Ewald b088287805 Fix git conflict in examples/web-worker/README.md
Accidentally introduced with #3102
2016-11-02 21:17:06 +01:00
Matt Singletary f3eaa05e0b Fix typo in template.md 2016-10-29 12:58:19 +02:00
Matt Singletary a6c743e2d2 Fix typo in README.md 2016-10-29 12:58:19 +02:00
Tobias Koppers 39116a6925 Merge pull request #3135 from michelgotta/patch-1
Added the fix for the extract-text-webpack-plugin error in the "Build Examples" Part
2016-10-26 12:37:50 +02:00
Damien Soulard a3bfd1e126 Remove automatic -loader module name extension (#3102)
* fix-2986: Remove automatic -loader module name extension

* remove-automatic-loader-extension: update examples

* fix-2986: Remove automatic -loader module name extension

* fix-2986: Remove automatic -loader module name extension

* fix-2986: Remove automatic -loader module name extension

* Revert changes from spaces to tabs
2016-10-25 23:03:59 +02:00
Michel Gotta cd06920b2b Added the fix for the extract-text-webpack-plugin error in the "Building an Example" part 2016-10-14 09:20:29 +02:00
Sam Zhao 557d4af5a3 docs(example): update examples template (#3074)
* docs(example): update examples template

* docs(example): add npm script to build examples
2016-09-29 17:01:24 -05:00
Tobias Koppers 592340c215 updated examples 2016-09-20 00:20:04 +02:00
Tobias Koppers 6c38cf9854 fixes to tests and examples 2016-09-20 00:19:55 +02:00
Moorthy Venkatraman 95c0602df5 updated dll example 2016-09-19 21:58:16 +02:00
Moorthy Venkatraman be39508aa2 Supplying extensions when constructing DllReferencePlugin 2016-09-19 21:56:02 +02:00
Tobias Koppers 8c3d97d933 add test
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00
Gajus Kuizinas f523b17449 fix: pass worker options using LoaderOptionsPlugin 2016-09-17 20:21:07 +01:00
Tobias Koppers 5910fefbcb better explicit vendor chunk example using DllPlugin 2016-09-16 01:21:11 +02:00
Tobias Koppers 9acaaf2dc5 updated examples 2016-09-07 12:42:51 +02:00
Tobias Koppers 8be02cf424 fix hybrid-routing example 2016-09-07 12:26:36 +02:00
Tobias Koppers a14e563f67 removed LabeledModules 2016-09-07 12:25:02 +02:00
Tobias Koppers ac6b9541b3 fix examples
add harmony interop example
remove one dedupe example
2016-09-07 11:47:52 +02:00
Tobias Koppers 80fca63e7b hide runtime in examples by default 2016-09-07 11:46:30 +02:00
Tobias Koppers 378163af51 moved non-harmony default import function into runtime
#2451
2016-07-20 16:20:09 +02:00
Tobias Koppers 6447baec9d updated extract-text-plugin examples 2016-07-15 22:55:18 +02:00
Tobias Koppers 7d7a16ffd2 added more information to example 2016-07-13 11:35:47 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00
Tobias Koppers 78307a937f allow to display used exports
support Tree Shaking with import *
fixes #2713
2016-06-29 01:17:59 +02:00
Rabbit b1aacba3ed mistake (#2703) 2016-06-28 19:08:13 +02:00
Tobias Koppers d6317b330b updated examples 2016-06-05 20:51:44 +02:00
Tobias Koppers 99352035a5 fixed typo in example
fixes #2599
2016-06-04 18:54:56 +02:00
Eliran Malka 5b6df06064 fix typo 2016-03-29 23:42:56 +03:00
Patrick Perey 6d14499607 Fix typo on template.md 2016-03-24 10:45:18 -07:00
Patrick Perey 7110d57fbc Fix typo 2016-03-12 23:36:56 -08:00
Tobias Koppers 8ca07fdf59 updated harmony examples 2016-02-13 10:15:32 +01:00
Tobias Koppers cb3d8e2097 updated examples 2016-02-04 13:02:53 +01:00
Tobias Koppers 308ddf223b fixed missing convertions in examples 2016-02-04 12:50:24 +01:00
Tobias Koppers 58623299f0 updated some examples 2016-02-04 00:27:47 +01:00
Justin Greenberg 7bf2e9b98e Update template.md 2016-01-08 21:24:58 -05:00
Justin Greenberg 2804f359e4 Update README.md 2016-01-08 14:17:50 -05:00
Gordon Kristan 8bbad200d4 Common and vendor chunk example 2016-01-03 21:07:08 -06:00
Tobias Koppers fecf07dd1f integrated new enhanced-resolve version 2016-01-03 21:42:56 +01:00
Tobias Koppers 8afbfe13e8 correct formating 2015-11-20 22:30:53 +01:00
Tobias Koppers 0347498839 added chunkhash example 2015-11-20 21:36:43 +01:00
Tobias Koppers 1ad2996fe7 don't throw away error on error 2015-11-20 19:58:16 +01:00
Thomas Shafer 8e9501c510 added explicit step to run npm install when building an example 2015-11-11 10:53:41 -08:00
Tobias Koppers 33d954229b updated plugin calls to options object 2015-10-31 16:31:10 +01:00
Tobias Koppers 6307ed72ac Added experimental usage tracking of ES6 modules and example 2015-10-21 21:05:01 +02:00
Tobias Koppers 4985cb2844 Merge branch 'master' into webpack-2
Conflicts:
	lib/dependencies/ContextDependency.js
2015-10-18 10:55:23 +02:00
Tobias Koppers 25072223a0 added dll example with module 2015-10-13 16:19:11 +02:00
Tobias Koppers 060ba5eab7 added code-splitting-harmony example 2015-09-03 11:36:30 +02:00
Tobias Koppers d98df52a49 added System.import API and async context 2015-07-01 00:19:52 +02:00
Tobias Koppers 41f56a523a Merge branch 'master' into webpack-2 2015-06-13 17:47:50 +02:00
Tobias Koppers b43254d384 Updated examples 2015-06-13 17:44:58 +02:00
Tobias Koppers b542cd026d fixed examples for lastest updates 2015-06-13 17:44:57 +02:00
Tobias Koppers 6195a1ba5c only print example log at last time 2015-06-13 17:44:56 +02:00
Tobias Koppers 8c6aec5c71 build examples multiple time to get more consistent timings 2015-06-13 17:44:55 +02:00
Tobias Koppers 66df34688e Merge branch 'master' into webpack-2
Conflicts:
	bin/convert-argv.js
	lib/webpack.js
2015-06-07 22:24:03 +02:00
Tobias Koppers 28aa3624a4 Merge pull request #1060 from webpack/multi-build
Multiple build support
2015-05-30 02:37:25 +02:00
Kenny Tran 38086edaaa Fix typos in README.md and examples/README.md 2015-05-26 19:29:27 -07:00
Tobias Koppers 94ba35cb13 Merge branch 'master' into webpack-2
Conflicts:
	lib/WebpackOptionsApply.js
2015-05-22 00:19:16 +02:00
Kenny Tran 5ea5866573 Fix typos in a couple of examples 2015-05-21 13:50:02 -07:00
Tobias Koppers 50ea1cb157 moved changes to template.md 2015-05-21 22:36:16 +02:00
Kenny Tran bfcd269434 Fix typos in multiple-entry-points example README 2015-05-21 08:19:00 -07:00
Kenny Tran 73c1951c70 Fix typos in code-splitting README 2015-05-21 07:28:26 -07:00
Tobias Koppers b201527835 added webpack.config.js to example README 2015-05-17 23:46:40 +02:00
Tobias Koppers 62bd7c1af4 export DllPlugin and DllReferencePlugin 2015-05-17 23:29:40 +02:00
Tobias Koppers 355763ad58 added support for scoped dlls 2015-05-17 23:03:21 +02:00
Tobias Koppers 4fdf62b919 added DllReferencePlugin 2015-05-17 11:06:35 +02:00
Tobias Koppers 817e678d9a added DllPlugin and dll example 2015-05-16 18:27:59 +02:00
Tobias Koppers ff7848369a Merge branch 'master' into webpack-2
Conflicts:
	bin/webpack.js
	package.json
2015-05-10 20:41:04 +02:00
Tobias Koppers 8a6ac101ea generate two indices, which representent global order
and use the first for sorting modules by default
2015-05-10 18:43:47 +02:00
Tobias Koppers 0d7aba12cc updated examples 2015-04-29 20:34:04 +02:00
Tobias Koppers 1679218f80 fixed CommonsChunkPlugin
and added two explict vendor chunks example
2015-04-29 12:46:00 +02:00
Tobias Koppers 300ee8db48 added explicit-vendor-chunk example 2015-04-28 16:58:01 +02:00
Tobias Koppers f4b9d5f57a Merge branch 'master' into webpack-2
Conflicts:
	lib/Compilation.js
	lib/Compiler.js
	lib/DefinePlugin.js
	lib/HotModuleReplacementPlugin.js
	lib/Parser.js
	lib/node/NodeSourcePlugin.js
	lib/node/OldNodeWatchFileSystem.js
	package.json
2015-04-27 20:22:13 +02:00
Tobias Koppers 2c54cb1e41 testcase for #977 2015-04-21 08:02:52 +02:00
simonzack 5bd10d6e88 Merge remote-tracking branch 'remotes/origin/harmony'
Conflicts:
	lib/Parser.js
	package.json
2015-03-05 15:35:23 +11:00