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
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
Tobias Koppers
19eabc7bb6
track which exported are provided by the modules
...
star export is filtered by provided exports
fixes #2953
2016-09-05 23:41:03 +02:00
Tobias Koppers
34e3f00a16
fixed coverage task
2016-09-02 15:39:04 +02:00
Sean Larkin
daf2f31233
Merge pull request #2909 from KlausTrainer/fix-readme-typo
...
Fix typo in README
2016-08-23 09:43:34 -05:00
Klaus Trainer
695f03990c
Fix typo in README
2016-08-23 16:36:41 +02:00
Tobias Koppers
c7cb6cb9d0
2.1.0-beta.21
2016-08-17 23:23:43 +02:00
Tobias Koppers
50ce77da74
fixed test cases for new manifest format
2016-08-17 18:48:51 +02:00
Tobias Koppers
265ba97068
test now result in a warning
2016-08-17 18:15:29 +02:00
Tobias Koppers
3be057cb52
beautify file
2016-08-17 13:26:47 +02:00
Tobias Koppers
11c5ede264
shorten lines for #2849
2016-08-17 13:26:28 +02:00
Tobias Koppers
8b03d2b4f9
closes #2659
2016-08-17 13:08:42 +02:00
Tobias Koppers
119af18c0c
Merge pull request #2497 from achicu/achicu/fix_error_memory_leak
...
Fixing memory leak causing node go out of memory
2016-08-17 13:06:34 +02:00
Tobias Koppers
5bef13e98e
Merge pull request #2839 from duncanbeevers/additional-uglify-logging
...
Log original and mapped filename+line+column on uglify error
2016-08-17 12:56:15 +02:00
Tobias Koppers
de4bd221af
follow up changes for #2848
2016-08-17 12:54:54 +02:00
Tobias Koppers
dbaa39246d
Merge pull request #2848 from Kovensky/patch-1
...
Add missing return
2016-08-17 12:50:45 +02:00
Tobias Koppers
28a1b0dae0
added codecov.yml
2016-08-17 12:47:42 +02:00
Tobias Koppers
b5d52d4505
changed lib manifest format to store harmony structure information
...
allow to use dll with harmony modules
fixes #2876
fixes #2857
2016-08-17 12:05:29 +02:00
Tobias Koppers
306f945061
added test shaking harmony/commonjs mixed
2016-08-17 11:41:30 +02:00
Tobias Koppers
d7f553c513
fixes tree shaking for export *
...
fixes #2850
fixes #2847
2016-08-17 11:24:35 +02:00
Diogo Franco
803a87fd0e
Add missing return
...
The module.hot.apply promise chain was not correctly merged into the module.hot.check() chain.
2016-08-07 00:31:24 +09:00
Duncan Beevers
e7a06a79e2
Log original and mapped filename+line+column on uglify error
2016-08-03 21:35:57 -05:00