Commit Graph

614 Commits

Author SHA1 Message Date
Albus Dumbledore eb8b23d4cd
docs(custom-json-modules): Improve README.md 2020-02-28 20:55:39 +05:30
Albus Dumbledore 428218b6aa
docs(commonjs): Improve template.md 2020-02-28 20:52:35 +05:30
Albus Dumbledore 2fc5fc6e47
docs(commonjs): Improve README.md 2020-02-28 20:49:58 +05:30
Albus Dumbledore 481c19f55c
docs(code-splitting): Improve template.md 2020-02-28 20:30:42 +05:30
Albus Dumbledore db2d40d003
docs(code-splitting): Improve README.md 2020-02-28 20:27:21 +05:30
Albus Dumbledore 35f66eaba8
docs(code-splitting-specify-chunk-name): Improve README.md 2020-02-28 19:19:13 +05:30
Albus Dumbledore 1373966f1a
docs(code-splitting-specify-chunk-name): improve template.md 2020-02-28 19:14:20 +05:30
Albus Dumbledore f58205a757
docs(code-splitting-native-import-context-filter): Improve template.md 2020-02-27 22:40:37 +05:30
Albus Dumbledore 0e31f5f21e
docs(code-splitting-native-import-context-filter): Improve README.md 2020-02-27 22:39:20 +05:30
Albus Dumbledore 749c397e90
docs(code-splitting-harmony): Improve template.md 2020-02-27 22:31:01 +05:30
Albus Dumbledore 41ab6ef948
docs(code-splitting-harmony): improve README.md 2020-02-27 22:28:44 +05:30
Albus Dumbledore d6aa270350
docs(chunkhash): Improve template.md 2020-02-27 22:16:33 +05:30
Albus Dumbledore 51d88cd4f9
docs(chunkhash): Improve README.md 2020-02-27 22:10:46 +05:30
Albus Dumbledore d735090b5a
docs(asset-simple): Improve README.md 2020-02-27 21:55:27 +05:30
Albus Dumbledore 18c89462c4
docs(examples): Improve asset-simple 2020-02-27 21:46:28 +05:30
Tobias Koppers 9d907c1c38
Merge pull request #10357 from wizardofhogwarts/patch-3
Minor grammatical fix
2020-02-11 15:21:29 +01:00
Albus Dumbledore d2bfd3d1b7
Grammatical fix 2020-02-11 19:17:54 +05:30
Tobias Koppers edecce586b handle dependOn at start of buildChunkGraph
handle jsonp chunk loading correctly for child entrypoints
add error message for incorrect dependOn
2020-02-11 09:12:13 +01:00
Tobias Koppers 66965d48c0 update examples 2020-02-11 09:11:03 +01:00
Sergey Melyukov c31d941899 dependOn feature
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2020-02-11 09:11:00 +01:00
Albus Dumbledore 71c73a1a52
Minor grammatical fix 2020-02-09 12:30:39 +05:30
Ryan Southgate a094d9f13e
Update template.md
updated as requested
2020-02-05 09:15:38 +00:00
Ryan Southgate 1a43009be4
Update examples/many-pages/README.md
one i missed

Co-Authored-By: James George <jamesgeorge998001@gmail.com>
2020-01-30 07:51:28 +00:00
Ryan Southgate e9ee556da7
Update examples/many-pages/README.md
spelling and readability change
2020-01-29 15:44:00 +00:00
Tobias Koppers fa57ed946c extend persistent-caching example with bigger module concatenation 2019-12-16 21:12:37 +01:00
Tobias Koppers 782e4535ac Refactor how exportsType work
add flagged exportsType for __esModule flagged
add getExportsType to merge strict with exportsType
move CommonJsStuffPlugin into CommonJsPlugin
split CommonJsPlugin into imports and exports part
enable minimal tree shaking for CommonJs imports and exports
2019-12-06 11:13:08 +01:00
Tobias Koppers c6ba1e536b update example header 2019-11-30 21:56:20 +01:00
Tobias Koppers a65a24409d fix example output 2019-11-30 21:45:03 +01:00
Sergey Melyukov 39519c5187 remove a second parameter from Rule.parser.parse for Rule.type = 'json' 2019-11-29 22:26:12 +03:00
Sergey Melyukov 5338d906fd fix custom-json-modules example 2019-11-29 18:15:04 +03:00
Sergey Melyukov 3d2242a00e fix lint errors for custom-json-modules 2019-11-28 20:49:53 +03:00
Sergey Melyukov b370223e2f fix custom-json-modules example description 2019-11-28 20:46:08 +03:00
Sergey Melyukov 3605d6dc9a add yaml and json5 to custom-json-modules example 2019-11-28 20:39:35 +03:00
Sergey Melyukov e934792b2a support custom parser for json modules 2019-11-28 20:12:11 +03:00
Tobias Koppers 317da38171 move data url condition to parser
avoid calling dataUrl function repeated
remove cache to avoid memory leak
include data url decision in module hash
refactor code for readablility
2019-11-26 15:43:58 +01:00
Tobias Koppers 69a403f254 cut off data urls in examples 2019-11-26 15:43:18 +01:00
Sergey Melyukov 4047169096 exportsType = default for asset modules 2019-11-26 15:43:12 +01:00
Sergey Melyukov f8ca491543 refactor: fix asset-advanced example 2019-11-26 15:43:05 +01:00
Sergey Melyukov a029781f50 refactor: improve asset-advanced example 2019-11-26 15:42:51 +01:00
Sergey Melyukov bdc61abf82 refactor: merge generators in asset modules 2019-11-26 15:42:37 +01:00
Sergey Melyukov 2d5844c56e refactor: fix review comments 2019-11-26 15:42:16 +01:00
Sergey Melyukov 491cb57cb4 initial improvement for asset modules 2019-11-26 15:41:48 +01:00
Tobias Koppers c38e226717 update example build process
collapse runtime code in examples
disable colors in examples
update examples
2019-11-19 14:30:38 +01:00
Tobias Koppers 73081bb5c3 update examples 2019-11-15 00:06:30 +01:00
Tobias Koppers 0407e6fc08 update examples 2019-10-28 14:09:53 +01:00
Tobias Koppers 3aa5be65cd update source map example 2019-10-18 15:10:26 +02:00
evilebottnawi c81ffbef42 refactor: `devtool` option 2019-10-18 14:43:21 +02:00
Tobias Koppers f25906fd2f update examples 2019-10-10 23:11:05 +02:00
Tobias Koppers ee3e8da508 export classes from webpack, and use them in webpack configs 2019-10-09 17:11:34 +02:00
Tobias Koppers 4d425e7f53 remove unused file 2019-10-09 11:53:21 +02:00
Tobias Koppers ddc3dae0e6 refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration
add code generation phase to Compilation
add `output.iife` options to remove iife wrapper
add `experiments.outputModule` which enabled `output.module`
add `output.module` which sets defaults to `output.iife: false`, `output.libraryTarget: "module"`, `output.jsonpScriptType: "module"`, `terserOptions.module: true`
add `output.module` example
improve runtime requirements needed by ConcatenatedModule
add entry inlining, which inlines entry module code into runtime scope (only when safe)
make whole bundle strict when all modules are strict
2019-10-08 23:59:48 +02:00
Tobias Koppers b613324fd8 update examples 2019-10-08 23:45:47 +02:00
Tobias Koppers 03ffdc56e6 Merge remote-tracking branch 'origin/next' into next 2019-08-13 21:47:24 +02:00
Tobias Koppers 602bd5738a Merge tag 'v4.39.2' into next
4.39.2
2019-08-13 21:47:00 +02:00
Tobias Koppers e5cecdad23 store build dependencies snapshot in pack
add snapshot shortcut for package manager managed paths
add cache.managedPaths
2019-08-13 17:02:37 +02:00
Tobias Koppers 38ada7bb0d make it more clear that cacheDirectory is optional 2019-08-12 16:37:12 +02:00
Tobias Koppers f236df1bc9 replace logging in persistent caching with infrastructure logger
remove cache.loglevel
2019-08-12 13:41:23 +02:00
evilebottnawi f466902daf fix: example 2019-08-07 18:50:44 +03:00
James Kaviyil Jose adac42ea1e
[Docs]: Added TOC 2019-08-06 21:42:48 +05:30
Tobias Koppers ab0ab1bdd1 Merge tag 'v4.39.1' into next
4.39.1
2019-08-05 13:32:25 +02:00
Tobias Koppers ff8946e849 update examples 2019-08-02 09:41:21 +02:00
Tobias Koppers 4fa8addeec Handle auxiliary files separately from normal files 2019-07-17 23:13:08 +02:00
Tobias Koppers fb45e38fa4 rename url -> asset
remove experimental in favor of experiments.asset
2019-07-17 11:57:04 +02:00
Yuta Hiroto c9aa09439e fxiup! feedback 2019-07-17 11:47:14 +02:00
Yuta Hiroto ec93e9148f chore(examples): add url-simple 2019-07-17 11:47:01 +02:00
Tobias Koppers 955d5689a9 remove experimental from module type name
since there is the `experiments` config now
2019-07-15 15:03:29 +02:00
konojunya 20b0d756b0 chore(example): add ForkTsCheckerWebpackPlugin 2019-06-20 14:58:42 +09:00
konojunya c998cc53a6 fix(example): update template and generate readme 2019-06-19 16:39:06 +09:00
Junya Kono f3d47b5aab
Update examples/typescript/webpack.config.js
Co-Authored-By: Tobias Koppers <tobias.koppers@googlemail.com>
2019-06-19 16:25:42 +09:00
konojunya 761d7bbfbe fix(example): update README 2019-06-18 15:16:27 +02:00
konojunya f2dbf8709c chore(examples): add TypeScript example 2019-06-18 15:16:24 +02:00
Tobias Koppers 403908ef10 update examples 2019-06-05 14:26:08 +02:00
Tobias Koppers 12a3e7c854 create experiments for importAwait importAsync and (a)syncWebAssembly 2019-06-05 13:32:22 +02:00
Tobias Koppers 49eacbc4b4 generate more optimized code for cases with a single promise or no top-level-await 2019-06-04 23:29:09 +02:00
Tobias Koppers 3e5b8ad213 fix example 2019-06-04 23:29:05 +02:00
Tobias Koppers c598a3f6af add additional example for wasm 2019-06-04 23:29:02 +02:00
Tobias Koppers ec1b989fce improve example description 2019-06-04 23:28:59 +02:00
Tobias Koppers de61023616 add side-by-side wasm support based on async modules
type: "webassembly/async-experimental"
remove i64 importing limitation since it will have BigInt integration eventually
update wasm example
2019-06-04 23:28:56 +02:00
Tobias Koppers a458479ef5 improve example 2019-06-04 23:25:37 +02:00
Tobias Koppers 903084f9aa WIP prototype of top-level-await and async modules based on import await 2019-06-04 23:25:35 +02:00
Tobias Koppers b66143f706 Merge tag 'v4.30.0' into next
4.30.0
2019-05-09 21:34:28 +02:00
Yuta Hiroto 47969598eb
chore(examples): regenerate README.md 2019-04-08 19:29:40 +01:00
Yuta Hiroto 83b0013209
chore(examples): modify RegExp in template-common 2019-04-08 19:26:45 +01:00
Yuta Hiroto eb7d7ea678
chore(examples): fix exmaples template syntax
fixes: #9000
2019-04-08 19:26:44 +01:00
Yuta Hiroto 4c987751eb
chore(examples): update README of examples 2019-04-03 22:33:52 +01:00
Yuta Hiroto 1a63b4afcd
chore(examples): output error if webpack-cli isn't installed 2019-04-03 22:33:48 +01:00
Tobias Koppers aa305969f4 Merge tag 'v4.29.1' into next
4.29.1
2019-02-04 19:03:31 +01:00
wtgtybhertgeghgtwtg 8f23023954 Rename deprecated hashes in examples. 2019-01-27 18:27:57 -07:00
Tobias Koppers 2209b8aca6 rebuild examples 2019-01-25 13:17:05 +01:00
Steven Hargrove 780c17e202 fix side-effects example 2019-01-25 13:17:00 +01:00
Tobias Koppers 2fe0ba5014 Normalize backslash on windows 2019-01-25 13:14:47 +01:00
Tobias Koppers b241549d31 Merge tag 'v4.28.3' into next
4.28.3
2018-12-29 12:59:56 +01:00
darrelfrancis e2abdaec74
Fix minor typos, improve clarity of README
This is done via the template.md file which is used to build README.md
2018-12-27 07:14:01 +00:00
Tobias Koppers 1b402bcae1 Merge tag 'v4.28.0' into next
4.28.0
2018-12-19 14:05:17 +01:00
Tobias Koppers f6d67b6605 update examples 2018-12-19 11:36:59 +01:00
Ed Morley 311a7285d3 Switch from uglifyjs-webpack-plugin to terser-webpack-plugin
Some history:
* `uglifyjs-webpack-plugin` < v1.0 used the minifier `uglify-js`
* however `uglify-js` does not support ES6, which resulted in a fork
  called `uglify-es` that was developed in the `uglify-js` repository,
  but under the `harmony` branch
* `uglifyjs-webpack-plugin` v1.x switched to `uglify-es` for ES6 support
* however `uglify-es` stopped being maintained:
  https://github.com/mishoo/UglifyJS2/issues/3156#issuecomment-392943058
* which led to a fork called `terser` that has incorporated all of
  the unmerged PRs and will be where all new development occurs:
  https://github.com/fabiosantoscode/terser
* `terser-webpack-plugin` was created, which is the `terser` equivalent
  of `uglifyjs-webpack-plugin`:
  https://github.com/webpack-contrib/terser-webpack-plugin
* `uglifyjs-webpack-plugin` v2.x will be switching back to `uglify-js`,
  so any project that needs to support ES6 now needs to switch to
  `terser-webpack-plugin`.

Fixes #7923.
2018-11-18 22:56:10 +03:00
Tobias Koppers 31e189fcde Merge tag 'v4.24.0' into next
4.24.0
2018-11-02 18:02:39 +01:00
Tobias Koppers 140be99343
improve build script 2018-10-29 11:29:06 +01:00
Kevin McCormack 3312eb57cc Update examples README
Running `yarn` does not seem to work here.
We need to run `yarn setup` before we can run `yarn link webpack`.
2018-10-28 13:20:46 -04:00
Tobias Koppers 7b85f99a97 improve loglevel option 2018-10-17 21:25:41 +02:00
Tobias Koppers b536fe7aee default cache.name to name + mode 2018-10-17 21:25:40 +02:00
Tobias Koppers 0d980a75ba improve example build and test
improve cache print of references
2018-10-17 21:25:40 +02:00
Tobias Koppers a852828279 add persistent caching prototype 2018-10-17 21:25:39 +02:00
Tobias Koppers 6c27c5f22e remove web-worker example
because worker-loader is incompatible
2018-09-27 13:20:24 +02:00
Tobias Koppers 4f1905aa5a Merge tag 'v4.20.2' into next
4.20.2
2018-09-25 23:13:58 +02:00
Tobias Koppers 54e30e05c0 update examples 2018-09-25 17:10:38 +02:00
Ed Morley 79910c6ba5 Switch from uglifyjs-webpack-plugin to terser-webpack-plugin
Some history:
* `uglifyjs-webpack-plugin` < v1.0 used the minifier `uglify-js`
* however `uglify-js` does not support ES6, which resulted in a fork
  called `uglify-es` that was developed in the `uglify-js` repository,
  but under the `harmony` branch
* `uglifyjs-webpack-plugin` v1.x switched to `uglify-es` for ES6 support
* however `uglify-es` stopped being maintained:
  https://github.com/mishoo/UglifyJS2/issues/3156#issuecomment-392943058
* which led to a fork called `terser` that has incorporated all of
  the unmerged PRs and will be where all new development occurs:
  https://github.com/fabiosantoscode/terser
* `terser-webpack-plugin` was created, which is the `terser` equivalent
  of `uglifyjs-webpack-plugin`:
  https://github.com/webpack-contrib/terser-webpack-plugin
* `uglifyjs-webpack-plugin` v2.x will be switching back to `uglify-js`,
  so any project that needs to support ES6 now needs to switch to
  `terser-webpack-plugin`.

Fixes #7923.
2018-09-15 12:29:14 +01:00
Eugen Cazacu 6126ec7f2e
Update README.md 2018-07-29 15:11:11 +02:00
Eugen Cazacu 37ae7c30da
Update increment.js 2018-07-29 15:10:19 +02:00
Eugen Cazacu 614f2ad1f5
Update example.js
update to newer syntax
2018-07-28 22:46:31 +02:00
Florent Cailhol bf7337e935 Update examples 2018-07-14 22:16:32 +02:00
Tobias Koppers 2b14ddc984 Merge tag 'v4.16.0' into next
4.16.0
2018-07-11 11:13:47 +02:00
ferhat elmas 271b77d45f all: typo fixes 2018-07-09 22:54:35 +02:00
Tobias Koppers f0ae54d478 Merge tag 'v4.13.0' into next
4.13.0
2018-07-04 22:08:31 +02:00
Tobias Koppers 34b0c7c684
Merge pull request #6906 from stepharr/patch-1
Fixing grammar issues in webpack example
2018-06-28 14:02:11 +02:00
Tobias Koppers ef2ec255dd
update template.md too 2018-06-28 11:17:41 +02:00
Florent Cailhol d650aa4857 Remove i18n-webpack-plugin 2018-06-26 08:50:54 +02:00
arkadyt 1e7b4e9a5e Remove dead links from /examples README.md. 2018-06-22 10:02:38 -07:00
Tobias Koppers 23beeab7e0
Merge pull request #7345 from stepharr/master
Fixing grammar issues in webpack example #6906
2018-06-06 21:10:29 +02:00
Tobias Koppers 86016594db update README too 2018-06-06 20:45:02 +02:00
Tobias Koppers 5feb7e69db
Merge pull request #7174 from JLHwung/revise-examples-build-readme
docs(examples): add yarn add webpack-cli step
2018-05-25 22:44:42 +02:00
Aliaksei Sapach aa99385b9a added a note about production mode 2018-05-24 15:15:41 +03:00
Aliaksei Sapach afca267ae6 added entry-only example 2018-05-22 23:27:41 +03:00
Stephon Harris 9dc758316a
Fixing grammar issues 2018-05-19 00:56:19 -04:00
Tobias Koppers 5930cf54b9 add split chunks example 2018-05-17 20:48:16 +02:00
Oded Niv 17fd4d8b48 Align 'Cannot find module' message with native NodeJS 2018-05-15 09:24:16 +03:00
Tobias Koppers 75c6416cfe updated examples 2018-05-07 13:36:54 +02:00
Huáng Jùnliàng 64db3064c7 docs(examples): add yarn add webpack-cli step
Running node_modules/bin/webpack without webpack-cli installed will get hang.

The culprit is that webpack expects a stdin of whether to install webpack-cli or not. However, as examples/build-common use `child_process.exec` to execute `webpack`, the user will not be prompted for any questions since the stdin is not piped and the stdout will be pass to parent process only after the child process exits. We can keep build-common simple by instructing devs to install webpack-cli before they build examples.

Also rewrite the install step using yarn since we use yarn in webpack.
2018-05-02 18:12:24 +08:00
Tobias Koppers f5bd213f4c Update examples 2018-04-04 15:18:18 +02:00
Stephon Harris 30d3be5a53
Fixing grammar issues 2018-03-29 09:28:03 -04:00
rhysd 81e47b6eaf Fix typos 2018-03-13 18:05:58 +09:00
Josh Soref dded403558 spelling: verify 2018-02-26 02:50:43 +00:00
Josh Soref 74b060a08e spelling: separately 2018-02-26 02:43:09 +00:00
Josh Soref 2ee033b4bc spelling: separate 2018-02-26 02:43:19 +00:00
Josh Soref 82b81eb1dc spelling: practice 2018-02-26 02:39:48 +00:00
Josh Soref 89932f0d71 spelling: equivalent 2018-02-26 02:28:07 +00:00
Josh Soref 885a8df729 spelling: concatenation 2018-02-26 02:26:51 +00:00
Josh Soref b39266121a spelling: assembly 2018-02-26 02:25:03 +00:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Naveen Jain 6bf5df53a3 Fixed template.md 2018-02-24 13:25:46 +01:00
Tobias Koppers 221d2cee43
Merge pull request #6470 from suguru03/feature/neo-async
replace Async with Neo-Async
2018-02-19 14:06:59 +01:00
Tobias Koppers 0b13cf19a1 update examples 2018-02-17 14:14:14 +01:00
Tobias Koppers ff224044f7 fix example 2018-02-17 13:35:06 +01:00
Tobias Koppers 33c907e1b7 Merge branch 'master' into next
# Conflicts:
#	examples/aggressive-merging/README.md
#	examples/chunkhash/README.md
#	examples/code-splitted-css-bundle/README.md
#	examples/code-splitted-require.context-amd/README.md
#	examples/code-splitted-require.context/README.md
#	examples/code-splitting-bundle-loader/README.md
#	examples/code-splitting-harmony/README.md
#	examples/code-splitting-native-import-context/README.md
#	examples/code-splitting-specify-chunk-name/README.md
#	examples/code-splitting/README.md
#	examples/coffee-script/README.md
#	examples/common-chunk-and-vendor-chunk/README.md
#	examples/common-chunk-grandchildren/README.md
#	examples/commonjs/README.md
#	examples/css-bundle/README.md
#	examples/dll-app-and-vendor/0-vendor/README.md
#	examples/dll-app-and-vendor/1-app/README.md
#	examples/dll-user/README.md
#	examples/dll/README.md
#	examples/explicit-vendor-chunk/README.md
#	examples/externals/README.md
#	examples/extra-async-chunk-advanced/README.md
#	examples/extra-async-chunk/README.md
#	examples/harmony-interop/README.md
#	examples/harmony-library/README.md
#	examples/harmony-unused/README.md
#	examples/harmony/README.md
#	examples/http2-aggressive-splitting/README.md
#	examples/hybrid-routing/README.md
#	examples/i18n/README.md
#	examples/loader/README.md
#	examples/mixed/README.md
#	examples/move-to-parent/README.md
#	examples/multi-compiler/README.md
#	examples/multi-part-library/README.md
#	examples/multiple-commons-chunks/README.md
#	examples/multiple-entry-points-commons-chunk-css-bundle/README.md
#	examples/multiple-entry-points/README.md
#	examples/named-chunks/README.md
#	examples/require.context/README.md
#	examples/require.resolve/README.md
#	examples/scope-hoisting/README.md
#	examples/source-map/README.md
#	examples/two-explicit-vendor-chunks/README.md
#	examples/web-worker/README.md
#	package.json
2018-02-13 10:18:53 +01:00
Suguru Motegi 864e563173 replace Async with Neo-Async 2018-02-11 14:31:08 -08:00
Tobias Koppers f01054664f update examples 2018-02-10 15:40:10 +01:00
Tobias Koppers d518b36de7 update examples 2018-02-10 15:09:46 +01:00
Tobias Koppers 0b566508fb hide buildAt in examples 2018-02-10 15:09:34 +01:00
Tobias Koppers 6f1b6d9d98 fix chunkhash example 2018-02-10 15:04:45 +01:00
Tobias Koppers 042e36aae6 update examples 2018-01-24 23:23:34 +01:00
Tobias Koppers bfe89fb92f update examples 2018-01-22 15:18:54 +01:00
Tobias Koppers d043323305 update commons/vendor chunk example 2018-01-22 15:18:41 +01:00
Tobias Koppers 32ebbfd7c7 Beautify webpack configs 2018-01-22 08:51:35 +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
John Reilly 93af81f296 fix test and other typos. Feel so petty 2018-01-14 21:18:35 +00:00
Tobias Koppers 61ab19c821 update examples 2018-01-06 10:46:03 +01:00
Tobias Koppers 0d987631bd update examples 2018-01-06 09:44:17 +01:00
Tobias Koppers 90068d867b path fix examples 2018-01-06 09:43:38 +01:00
Tobias Koppers bc7725c668 change output from examples for js/ to dist/ 2018-01-04 21:39:29 +01:00
Tobias Koppers 273f147dae update examples 2018-01-04 21:21:39 +01:00
Tobias Koppers e9f1ad208b update examples 2018-01-03 11:03:20 +01:00
Tobias Koppers 6300c5bb68 reenable example 2017-12-22 13:23:30 +01:00
Tobias Koppers 4fdd462c7d update example 2017-12-22 12:47:28 +01:00
Tobias Koppers c6c447b42c
Merge pull request #6160 from webpack/wasm/imports
add support for imports in wasm modules
2017-12-22 08:20:58 +01:00
EugeneHlushko aadfe36668 Fix DLL example 2017-12-21 11:24:02 +01:00
Tobias Koppers 4a9ffd80bb update examples 2017-12-21 11:19:53 +01:00
Tobias Koppers 54473194b5 allow to filter examples in test suite
filter wasm example for wasm support
2017-12-21 08:51:07 +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 44209f6db9 Update examples 2017-12-14 10:58:03 +01:00
Tobias Koppers 59c7c167e3 update example configurations for latest mode changes 2017-12-14 10:53:04 +01:00
Tobias Koppers c13194607e update examples 2017-12-04 20:36:19 +01:00
Tobias Koppers 84c6449b48 update examples 2017-12-04 14:35:55 +01:00
Joe Lencioni 471d14b895
Fix link to side-effects example
This started out as pure-module, but was moved without
this link being updated.
2017-11-29 11:52:09 -08:00
Tobias Koppers d7b943737d update examples 2017-11-29 08:50:55 +01:00
Tobias Koppers 575fc4c29d update examples 2017-11-24 11:18:34 +01:00
Tobias Koppers e8f381dd93 update example configurations 2017-11-24 08:17:37 +01:00
Tobias Koppers 035b16aae2 Update examples 2017-11-23 09:47:19 +01:00
Tobias Koppers 8149c5e1f1 fix linting issues 2017-11-21 13:23:12 +01:00
Tobias Koppers 35d7f51b88 rename side-effects to sideEffects in example 2017-11-21 12:56:12 +01:00
Tobias Koppers 86c3bdc3d3 add temporary workarounds for not-updated file-loader 2017-11-21 12:55:52 +01:00
Tobias Koppers a53672d1a2 Merge branch 'master' into next
# Conflicts:
#	lib/EvalSourceMapDevToolModuleTemplatePlugin.js
#	lib/dependencies/HarmonyDetectionParserPlugin.js
#	lib/dependencies/HarmonyImportDependency.js
#	package.json
#	schemas/webpackOptionsSchema.json
#	test/Validation.test.js
2017-11-17 16:03:46 +01:00
hardfist 08e26b9d2a
fix typo&& wrong links in examples/README.md 2017-11-14 20:43:27 +08:00
Tobias Koppers 9c7f53e63c add support for compileStreaming 2017-11-10 09:18:27 +01:00
Tobias Koppers cce42f51cf use i32 instead of f64 in wasm code 2017-11-10 09:17:12 +01:00
Tobias Koppers 41a1d602e1 added WebAssembly Proof of Concept 2017-11-10 09:17:11 +01:00
Tobias Koppers 6a6cd57b26 Merge branch 'next' into import-context-filter 2017-10-16 13:55:54 +02:00
Landon Crapo bc6c1be90c refactoring filter to include and other requested changes 2017-10-13 15:41:44 -06:00
Landon Crapo 7cc8d68821 fixed code-splitting-native-import-context-filter README.md 2017-10-13 15:41:02 -06:00
Landon Crapo 5d1759fd4c modified import context filtering logic to filter on file names. 2017-10-13 15:41:02 -06:00
Landon Crapo 4c08560f5a fixed code-splitting-native-import-context-filter README.md 2017-10-13 15:41:01 -06:00
Landon Crapo f884136861 created filter logic for dynamic import statements 2017-10-13 15:41:01 -06:00
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