Tobias Koppers
d0b358d108
update examples
2020-05-20 23:26:51 +02:00
Tobias Koppers
db5360da6d
fix typo
2020-04-28 22:30:56 +02:00
Albus Dumbledore
edd7b5e37d
docs(wasm-simple): improve template.md
2020-04-25 22:54:53 +05:30
Albus Dumbledore
5e5a0a6691
docs(wasm-simple): improve README.md
2020-04-25 22:51:40 +05:30
Albus Dumbledore
e9c3f2fbf4
docs(top-level-await): improve template.md
2020-04-25 20:19:05 +05:30
Albus Dumbledore
cdfc85f252
docs(top-level-await): improve README.md
2020-04-25 20:11:10 +05:30
Tobias Koppers
645277d207
Merge pull request #10591 from wizardofhogwarts/patch-11
...
docs: Grammatical fixes in examples
2020-03-27 11:23:47 +01:00
Albus Dumbledore
acf61b347b
docs(multiple-entry-points): improve template.md
2020-03-27 08:26:17 +05:30
Albus Dumbledore
8872cc6ac8
docs(multiple-entry-points): improve README.md
2020-03-27 08:20:58 +05:30
Albus Dumbledore
7f164e1e05
docs(multi-part-library): improve template.md
2020-03-27 07:39:32 +05:30
Albus Dumbledore
9ff955c225
docs(multi-part-library): improve README.md
2020-03-27 07:33:41 +05:30
Albus Dumbledore
cd18c1c668
docs(mixed): improve template.md
2020-03-23 08:35:41 +05:30
Albus Dumbledore
e8f9941bfd
docs(mixed): improve README.md
2020-03-23 08:33:03 +05:30
Albus Dumbledore
7e86cc96a1
docs(many-pages): grammatical fixes in template.md
2020-03-23 08:28:42 +05:30
Albus Dumbledore
6c2552c915
docs(many-pages): grammatical fixes in README.md
2020-03-23 08:15:56 +05:30
Albus Dumbledore
6fa5a8ef9c
chore: remove space
...
Co-Authored-By: Yuta Hiroto <git@hiroppy.me>
2020-03-23 08:07:13 +05:30
Albus Dumbledore
b172054f9b
docs(http2-aggressive-splitting): improve template.md
2020-03-22 12:00:28 +05:30
Albus Dumbledore
a364871540
docs(http2-aggressive-splitting): improve README.md
2020-03-22 11:54:09 +05:30
Albus Dumbledore
412a5738af
docs(harmony-unused): improve template.md
2020-03-22 08:32:01 +05:30
Albus Dumbledore
11f24f1aff
docs(harmony-unused): improve README.md
2020-03-22 08:29:18 +05:30
Albus Dumbledore
7d1025b2d9
docs(extra-async-chunk): improve template.md
2020-03-22 08:21:12 +05:30
Albus Dumbledore
c5eff857cb
docs(extra-async-chunk): improve README.md
2020-03-22 08:17:15 +05:30
Albus Dumbledore
3471ebc6d8
docs(harmony-interop): improve example.js
2020-03-22 07:51:56 +05:30
evilebottnawi
dafa4cd69a
chore: setup cspell
2020-03-12 19:51:26 +03:00
Albus Dumbledore
d9bd8f8307
docs(externals): improve template.md
2020-03-10 12:58:43 +05:30
Albus Dumbledore
c7a5138eb5
docs(dll-entry-only): improve template.md
2020-03-10 12:41:50 +05:30
Albus Dumbledore
166dfc88e4
docs(dll-entry-only): improve README.md
2020-03-10 12:38:34 +05:30
Albus Dumbledore
5394361b7d
docs(externals): improve README.md
2020-03-10 12:29:13 +05:30
Albus Dumbledore
2561bdfbd3
docs(custom-json-modules): Improve template.md
2020-02-28 20:57:53 +05:30
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