Gajus Kuizinas
68460a0586
feat: add JSON schema for "name" property
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
56de487c4f
style: convert indentation to tabs
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
76af4753fb
chore: add .json to .editorconfig
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
291fc3b8b2
fix: add JSON schema for output.auxiliaryComment
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
cee956dbb7
feat: log validation errors to the console
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
3ef4538f8d
feat: validate webpack options against a schema
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
79997455c6
feat: define validateWebpackOptions function
...
Define a function that is used to validate an object against webpackOptionsSchema.json.
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
57ea1eabcb
chore: define webpack options schema
2016-09-17 20:21:07 +01:00
Tobias Koppers
17ca14ccd9
use inputFileSystem instead of real filesystem
2016-09-16 01:31:53 +02:00
Tobias Koppers
5910fefbcb
better explicit vendor chunk example using DllPlugin
2016-09-16 01:21:11 +02:00
Tobias Koppers
e896d14829
MultiCompiler with compilers depend on other
2016-09-16 01:20:34 +02:00
Tobias Koppers
530fad43b4
allow to pass abs path to manifest property of DllReferencePlugin
...
manifest is loaded on compilation
2016-09-16 01:19:50 +02:00
Tobias Koppers
a0a920d83f
added experimental plugin to set custom module ids
2016-09-16 01:18:21 +02:00
Tobias Koppers
d42d52b388
use specification order for chunks
...
fixes ##2998
2016-09-16 01:17:28 +02:00
Tobias Koppers
61972f42f9
fixed bugs in RuleSet, added tests
2016-09-15 08:39:53 +02:00
Tobias Koppers
78a2f699e2
beautify
2016-09-15 00:50:07 +02:00
Tobias Koppers
54aa3cd0d6
Merge pull request #2988 from matthewtoast/master
...
fix: Convert webworker template runtime to be Promise-based API
2016-09-15 00:27:52 +02:00
Tobias Koppers
39c76a4c41
need a higher version of loader-runner
2016-09-15 00:23:27 +02:00
Tobias Koppers
a53799c0ac
use new RuleSet matching instead of LoadersList
...
pass issuer via contextInfo
2016-09-15 00:22:10 +02:00
Tobias Koppers
ec262a4007
refactoring: moved parser instancation into NormalModuleFactory
...
breaking change: compiler.parser must no longer be used. Use this instead:
``` js
compiler.plugin("compilation", function(compilation, params) {
params.normalModuleFactory.plugin("parser", function(parser, parserOptions) {
parser.plugin(/* ... */);
});
});
```
required for #2978
2016-09-15 00:22:10 +02:00
Tobias Koppers
9c9b20af6d
better test cleanup
2016-09-15 00:22:10 +02:00
Tobias Koppers
afd11259b2
stricter linting and bug fixes
2016-09-15 00:22:10 +02:00
Matthew Trost
2e8f08f6ac
Convert webworker template runtime to Promise-based API
...
Fixes 'cannot call method then on undefined' error when using HMR with a config
whose target is "webworker".
Probably should have happened with 2245c4acca
2016-09-12 18:40:23 -04:00
Tobias Koppers
1f781c1899
removed duplicate -v alias for verbose
...
it means --version now
2016-09-09 14:52:56 +02:00
Tobias Koppers
37066fc692
fix another bug observed in #2977
2016-09-09 14:50:14 +02:00
Tobias Koppers
f47e920d22
fix --display-provided-exports
2016-09-09 14:31:02 +02:00
Tobias Koppers
c08d1b4f89
fixes #2977
2016-09-09 14:20:29 +02:00
Tobias Koppers
ac340bce1d
improved and fixed stats
2016-09-09 14:19:36 +02:00
Tobias Koppers
3df89413e2
better System polyfilling
...
fixes #2942
2016-09-08 22:39:44 +02:00
Tobias Koppers
66edde657e
added libraryTarget commonjs-module
...
for commonjs wrapped harmony modules via `__esModule`
fixes #2945
2016-09-08 22:26:43 +02:00
Tobias Koppers
a73288854c
added another test case for dlls
2016-09-08 22:03:26 +02:00
Tobias Koppers
c3e6fcf36a
fixed beautify issues
2016-09-08 21:41:03 +02:00
Bazyli Brzóska
fe0c8cafb3
Keep the parsed comments along with the AST ( #2905 )
...
When plugging into the 'program' hook of the Parser, comments are preserved and passed as the second parameter, after the AST.
This allows external plugins to make use of the comments contained within the files without re-parsing each file.
2016-09-08 20:52:53 +02:00
Kenny Cosca
142ad9dae9
Adding option ( -v or --version ) to print version. ( #2935 )
2016-09-07 20:37:24 +02:00
Tobias Koppers
f5d9a0901c
2.1.0-beta.22
2016-09-07 12:43:10 +02:00
Tobias Koppers
9acaaf2dc5
updated examples
2016-09-07 12:42:51 +02:00
Tobias Koppers
1296c689ac
bug fix for agressive merging
2016-09-07 12:37:47 +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
2432f5afb2
add --display-provided-exports to CLI
2016-09-07 11:45:41 +02:00
Tobias Koppers
6b66469040
provdedExports from imported module should affect hash
2016-09-07 10:56:17 +02:00
Tobias Koppers
6d1f3e3fa3
fixes #2895
2016-09-07 09:59:12 +02:00
Tobias Koppers
c51c59cee1
update test cases for stats changes
2016-09-07 09:48:32 +02:00
Tobias Koppers
76efbcf801
hide stack trace in export warnings
2016-09-07 09:46:53 +02:00
Tobias Koppers
b24bbdcf22
add providedExports to stats
2016-09-07 09:46:39 +02:00
Tobias Koppers
9ccbd260b5
more info in tests stats.txt files
2016-09-07 09:46:27 +02:00
Tobias Koppers
ce76b6e992
emit more pretty es6 runtime code
2016-09-07 09:46:13 +02:00
Tobias Koppers
65b70bf5ed
finished refactory of tree shaking
...
changes format for dll manifest
#2953
fixes #2959
2016-09-07 09:44:53 +02:00