Andrey
0ec7de9fae
Fix regression with watch cli opt, add tests for this case
2017-01-17 16:25:55 +03:00
Shubheksha Jalan
a8d7bbabcf
added tests for WebWorkerChunkTemplatePlugin
2017-01-17 18:49:15 +05:30
Tobias Koppers
db6ccbca3c
Merge pull request #3978 from webpack/bugfix/conditional-reexports
...
hoist exports declarations too
2017-01-16 15:53:43 +01:00
Tobias Koppers
82a5b03154
Merge pull request #3977 from malstoun/bug/2664
...
Fix watch when config is an array of objects
2017-01-16 15:53:08 +01:00
Tobias Koppers
a44694aa4e
hoist exports declarations too
...
fixes #3972
2017-01-16 15:45:15 +01:00
Andrey
682bde8ce4
Fix lint
2017-01-16 16:35:27 +03:00
Andrey
c6d7d90994
Add tests
2017-01-16 16:24:31 +03:00
Alistair Brown
9b301f9569
Add tests for WebWorkerMainTemplatePlugin
2017-01-16 12:20:51 +00:00
Tobias Koppers
bd45bdc6fb
add test case for global in harmony modules
2017-01-16 03:38:02 +01:00
Tobias Koppers
9bb46d4161
fix for #3964 and tests
2017-01-15 16:41:56 +01:00
Tobias Koppers
e4016039bf
Merge pull request #3956 from jbruni/patch-1
...
Fixes #3946 (stats options being ignored)
2017-01-15 15:52:58 +01:00
Tobias Koppers
857f980883
improve existing test to test #3946 and #3949
2017-01-15 15:30:11 +01:00
Tobias Koppers
a7a41848c7
remove error for CommonJs/AMD in ESM
...
there are too many weird modules
detect harmony modules before parsing
exports is now undefined in ESM
module.exports is now read-only in ESM and returns undefined
define is now undefined in ESM
#3917
2017-01-15 01:44:26 +01:00
Sean Larkin
aa90166ebc
Merge pull request #3524 from webpack/bugfix/fix_stats_when_passed_array
...
fix(stats): allow stats to respect array of configs, also bump deps.
2017-01-11 09:15:42 -06:00
Tobias Koppers
784af506a3
linter fixes
2017-01-11 15:54:40 +01:00
Tobias Koppers
f1d56dcc74
add support for multiple different stats objects
2017-01-11 14:37:47 +01:00
Will Mendes
c25569c33d
test(WebEnvironmentPlugin): adding missed test
2017-01-11 23:06:30 +11:00
Tobias Koppers
951a7603d2
Merge pull request #3889 from cletusw/args-undefined-master
...
Support UglifyJsPlugin with no arguments in CLI --plugin
2017-01-11 13:03:23 +01:00
Tobias Koppers
028c513017
Merge pull request #3898 from webpack/lint/eslint-rules
...
code linting
2017-01-11 13:02:43 +01:00
Tobias Koppers
19c7260b57
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2017-01-11 12:47:37 +01:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Tobias Koppers
d69c85f1ad
test tests uglifyjs
2017-01-11 12:24:57 +01:00
Tobias Koppers
059726d4cf
fix code style
2017-01-11 12:20:59 +01:00
Clayton Watts
5f4481940b
Support UglifyJsPlugin with no arguments in CLI --plugin
...
UglifyJsPlugin checks `typeof options !== "object"`, which doesn't work as expected with `null` since its type is `"object"`. a1dca894d9/lib/optimize/UglifyJsPlugin.js (L16)
See 48e17ab308 (commitcomment-20424582)
2017-01-11 12:20:59 +01:00
Tobias Koppers
983da1972f
Revert "Timestamp & Save flag"
2017-01-11 11:45:15 +01:00
Sean Larkin
ea2274a82f
fix bad logic and created additional test to cover
2017-01-10 12:02:24 -06:00
Sean Larkin
f8ee770af6
added additional array case
2017-01-10 11:40:38 -06:00
Sean Larkin
03d37489fe
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2017-01-10 10:27:29 -06:00
Tobias Koppers
a1dca894d9
Merge pull request #3860 from tejasbubane/case-sensitive-modules-warning-es6
...
Convert CaseSensitiveModulesWarning to es2015
2017-01-10 08:09:20 +01:00
Alistair Brown
1f9dc71e3d
Run quick NodeWatchFileSystem tests as part of test run ( #3863 )
2017-01-09 23:19:38 -06:00
Alistair Brown
9681a3b15f
Add tests for HotUpdateChunkTemplate ( #3867 )
2017-01-09 23:16:59 -06:00
Alistair Brown
0542f4ae56
Add tests for WarnCaseSensitiveModulesPlugin ( #3865 )
2017-01-09 23:15:28 -06:00
Tobias Koppers
4f9cd8153e
fixes and tests for #3755 ( #3862 )
2017-01-09 23:00:03 -06:00
Tejas Bubane
6e8cdc1459
Convert CaseSensitiveModulesWarning to es2015
2017-01-10 09:37:51 +05:30
Tobias Koppers
9380bd4c12
Bugfix/disable module in harmony ( #3755 )
...
* moved format location into separate file
allow dependencies to report errors too
* NullDependencies do not change the hash
* dependencies can opt-out from `__webpack_require__` param
* apply module syntax plugins earlier
* emit errors if using AMD or CommonJS syntax in harmony modules
2017-01-09 10:11:34 -06:00
Tobias Koppers
ecafbe4b06
Merge pull request #3852 from webpack/bugfix/import-position
...
make harmony order stable
2017-01-09 08:32:10 +01:00
Naoyuki Kanezawa
a22b00e23d
Dynamic entry support ( #3634 )
...
* enable to set a function to entry option
* add tests for entry function
* fix style
* fix identifier and readableIdentifier of MultiModule
* use arrow functions
* use arrow function
* remove incorrect new operators
* fix Validation tests
2017-01-09 01:31:49 -06:00
Tobias Koppers
6ae2b07012
make harmony order stable
2017-01-09 00:50:32 +01:00
Tobias Koppers
42b95d9394
Merge pull request #3844 from alistairjcbrown/feature/bin_cases_infra
...
feat(test): add very simple binCases test infra to build off of [Fork]
2017-01-08 21:48:25 +01:00
Alistair Brown
4dcbf96e72
Update stdout and stderror to be array of lines
2017-01-08 19:53:14 +00:00
timse
d803bc1cc8
give hint what warnings were expected and which file ( #3842 )
...
currently if you "break" warnings you have no idea which ones where supposed to show
or which module actually failed.
2017-01-08 12:18:02 -06:00
Alistair Brown
f8be239fc1
Add test for help output
2017-01-08 18:08:51 +00:00
Alistair Brown
dca14d6a36
Simplify test files and move to opts parser
...
Move command execution into root test runner to remove boilerplate code
from specific test files. Move from arguments JSON hash to opts file
using mochas opts parser.
2017-01-08 18:08:51 +00:00
Sean Larkin
7034daea7d
reworked the binCases infra. Now ARGUMENTS.json can hold commands
2017-01-08 10:55:12 +00:00
Sean Larkin
b9128f85df
feat(test): add very simple binCases test infra to build off of
2017-01-08 10:55:12 +00:00
Alistair Brown
af00214583
Add tests for CachePlugin ( #3840 )
2017-01-07 20:11:53 -06:00
Jens Tinfors
973430931d
Bump up test coverage on NodeWatchFileSystem test ( #3837 )
...
* Bump up test coverage on NodeWatchFileSystem test
2017-01-07 18:17:21 -06:00
Alistair Brown
ecb63b9742
Add maintemplateplugin tests ( #3839 )
...
* Add tets for AmdMainTemplatePlugin
* Add tests for JsonpExportMainTemplatePlugin
2017-01-07 18:05:19 -06:00
Alistair Brown
81a7f7f4bf
Add tests for LibraryTemplatePlugin ( #3835 )
2017-01-07 14:27:22 -06:00
Alistair Brown
5da3c99584
Add tests for MultiCompiler ( #3802 )
...
* Split out multi-compiler functionality
* Add tests for MultiWatching
* Add tests for MultiStats
* Add tests for MultiCompiler
2017-01-07 00:56:47 -06:00
Sean Larkin
5f29ffc0eb
fix(tests): fix line endings which broke master ( #3827 )
2017-01-06 22:09:13 -06:00
Sean Larkin
6760bafb2f
remove time test to be safe
2017-01-06 11:43:18 -06:00
Sean Larkin
c70b3edb58
fix(tests): use less strict raw module time
2017-01-06 11:22:19 -06:00
Nitish Dayal
24594b345a
refactor(es6): Update RawModule to ES2015 syntax ( #3691 )
...
* refactor(es6): Upgrade ModuleReason and ModuleTemplate to es6
* added RawModule tests
2017-01-06 08:23:29 -06:00
Yuriy Ostapenko
a87b61f526
Include child compilation hash into parent hash computation ( #3744 )
...
Without it, child compilations like those added by "extract-text-webpack-plugin" are not included in stats hash and aren't properly displayed on change.
2017-01-05 23:03:54 -06:00
Will Mendes
ed7f3b7033
refactor(DependenciesBlockVariable): upgrade to ES6 ( #3772 )
2017-01-05 11:36:43 -06:00
Yuriy Ostapenko
9f6a601ca6
Fix multiconfig watch ( #3737 )
...
* Fix MultiCompiler watch mode stats output
Previously, stats would contain stale configuration child stats. This is very confusing, since it looks as if some things are emitted when they shouldn't be.
Add support for making assertions to stats in watch tests.
* Fix test hanging on Windows/Linux
Parallel watchpack's (happens when MultiCompiler is in use) do not emit events in watch tests, unless some timeout is added.
This does not seem to be an issue on macOS.
* Correctly close watcher in watch tests
This fixes macOS build, where changes keep being triggered
2017-01-04 23:46:13 -06:00
Tobias Koppers
29c1fd2417
Test/library with external ( #3753 )
...
* fixes position of __esModule flag (should be on top)
* add testcase for library with external
* updated stats test cases
2017-01-04 20:18:23 -06:00
Tobias Koppers
5b0a16cea3
added test case for loader chaining ( #3746 )
2017-01-04 11:28:34 -06:00
Will Mendes
a1ffb615ab
refactor(Chunk): upgrade to ES6 ( #3694 )
...
* refactor(Chunk): upgrade to ES6
* test(Chunk): adding unit test for Chunk class
2017-01-04 10:17:49 -06:00
Tobias Koppers
242e37be2e
Merge pull request #3730 from timse/fix-global-leak-in-requirejsstuff-test
...
Fix global leak in requirejsstuff test
2017-01-04 15:06:25 +01:00
Tobias Koppers
c44f75d6ed
Merge pull request #3742 from uncleyo/fix-harmony-watch-test
...
Fix switch statement wrongly assuming WATCH_STEP is an integer number
2017-01-04 15:05:55 +01:00
Yuriy Ostapenko
7c527e26da
Fix switch statement wrongly assuming WATCH_STEP is an integer number
2017-01-04 14:53:21 +01:00
Tim Sebastian
e73cbf3e60
move rest of requireJsStuffPlugin to es6
2017-01-04 22:00:52 +11:00
Tim Sebastian
2e6292ac36
fix global leak of compilationEventBinding
2017-01-04 21:58:02 +11:00
Alistair Brown
23e57e5b97
Add tests for CaseSensitiveModulesWarning ( #3714 )
2017-01-04 00:22:19 -06:00
Jack Moore
ce4ce3e7cf
Upgrade WatchIgnorePlugin to es6 ( #3693 )
...
* Upgrade WatchIgnorePlugin to es6
* Improved test coverage for WatchIgnorePlugin
Now tests ignoring of dirs
2017-01-04 00:20:51 -06:00
wtgtybhertgeghgtwtg
11879537b9
Drop `ArrayMap` for `Map`. ( #3718 )
2017-01-03 23:49:58 -06:00
Eduard Kyvenko
29a1b54564
Added better validation for entry in option schema ( #3567 )
...
Added better validation for entry in option schema (#3567 )
* Added better validation for entry in option schema
* Fixed option validation schema
* Improved error reporting for empty entry bundle
* Added a test for empty entry bundle
2017-01-03 23:23:57 -06:00
Dan Jasnowski
d8b357ed51
es5->es6 refactoring of SingleEntryPlugin ( #3687 )
...
* es5->es6 refactoring of SingleEntryPlugin
Added unit test for the testing of said plugin
* Forgot to switch coding styles back to tabs.
* trying to please the linting gods.
* removing the output property per suggestion
2017-01-03 22:18:43 -06:00
Alistair Brown
d353ed1f10
Add hotupdatechunktemplateplugin tests ( #3700 )
...
* Add tests for JsonpHotUpdateChunkTemplatePlugin
* Add tests for NodeHotUpdateChunkTemplatePlugin
2017-01-03 14:33:59 -06:00
Alistair Brown
b25189a8b6
Add tests for RequireJsStuffPlugin ( #3702 )
2017-01-03 13:08:15 -06:00
Alistair Brown
e968b5059b
Add tests for WebWorkerHotUpdateChunkTemplatePlugin ( #3685 )
2017-01-02 19:56:09 -06:00
Alistair Brown
ef05c31513
Add tests for SourceMapDevToolModuleOptionsPlugin
2017-01-02 18:53:48 +00:00
Tobias Koppers
849385afdb
Merge pull request #3672 from alistairjcbrown/update-noncalling-typechecks
...
Update missing should type check calls
2017-01-02 09:09:23 +01:00
Alistair Brown
7a43c0ef25
Update missing should type check calls
2017-01-02 00:44:24 +00:00
Alistair Brown
f7060eaf1e
Add tests for compareLocations
2017-01-01 23:38:59 +00:00
Alistair Brown
e0c00f9034
Add tests for ArrayMap ( #3662 )
2016-12-31 12:33:54 -06:00
Sean Larkin
c7b06ad617
feat(moduletemplate): Wrap function module template wrappers with parens ( #3658 )
...
* feat(moduletemplate): Wrap function module template wrappers with parens.
* update stats
2016-12-31 10:08:40 -06:00
Elod-Arpad Szopos
082dc17472
No errors plugin deprecate ( #3570 )
...
* added deprecation with unit test
* added deprecation for NoErrorsPlugin in favor of NoEmitOnErrorsPlugin with unit test
* add new NoEmitOnErrorsPlugin to exports and add an extra unit test to check that there is no warning when using it
* added test for NoEmitOnErrorsPlugin in case of error
* git ignore temporary test fixtures
2016-12-30 09:52:37 +01:00
Sean Larkin
9014901b9c
Merge branch 'master' into bugfix/fix_stats_when_passed_array
2016-12-29 14:34:02 -06:00
Yuta Hiroto
79791a51e2
refactor(ArrayMap): update ArrayMap to es2015 class ( #3613 )
2016-12-28 21:10:02 -06:00
Garth Poitras
64f9a16bf6
fix(ProvidePlugin): support properties from modules. Closes #2864 ( #3597 )
2016-12-28 13:41:09 -06:00
Joe Bateson
a8bb6cdb1c
refactor(es6): Replace object-assign polyfill with native method ( #3608 )
2016-12-28 13:07:28 -06:00
Sean Larkin
5f14559335
feat(performancebudgets): set warnings in console off by default, however should still display in stats ( #3604 )
2016-12-28 11:27:54 -06:00
Tobias Koppers
cb4c209fcf
Merge pull request #3601 from webpack/bugfix/delete-assets
...
fixes #3596
2016-12-28 15:37:06 +01:00
Tobias Koppers
84913ec302
fixes #3596
2016-12-28 14:52:06 +01:00
Sean Larkin
56924c6f13
feat(test): increase coverage for target: 'webworker' ( #3204 )
...
* feat(test): increase coverage for target: 'webworker'
* fixed bad test cases, and added generic node shimming for web workers
2016-12-28 07:49:26 -06:00
Tobias Koppers
59c2c568c1
Merge pull request #3600 from webpack/test/weird-commonjs
...
add noParse test cases
2016-12-28 14:40:19 +01:00
Tobias Koppers
44d0f4c5be
add noParse test cases
2016-12-28 13:21:30 +01:00
Tobias Koppers
386d232dfa
fixes #3584
2016-12-28 12:58:43 +01:00
Sean Larkin
e8cb875765
chore(test): Add README.me, CONTRIBUTOR update ( #3569 )
...
* chore(test): Add README.me, CONTRIBUTOR update. Adds a README.md file to test directory to aid contributors in how to add tests.
2016-12-27 13:45:01 -06:00
Tobias Koppers
44baa7c410
Merge pull request #3557 from webpack/bugfix/normalize_mixed_use_array_and_function
...
fix(RuleSet): normalize mixed use array and function
2016-12-23 14:20:30 +01:00
Tobias Koppers
ccfc608520
Merge pull request #3555 from webpack/bugfix/filter_arrow_node_test_for_v012
...
fix(test): Filter ES6 features from node v0.12. Fixes #3552
2016-12-23 12:26:59 +01:00
Sean Larkin
f0fd4eca48
add correct arrow function helper
2016-12-23 03:13:15 -06:00
Tobias Koppers
3fcd2019da
full require.ensure comment
2016-12-23 09:24:21 +01:00
Sean Larkin
c3bd0e2faa
dont poll config while filtering test suites
2016-12-23 00:17:57 -06:00
Sean Larkin
7973da8cf9
ensured that filter was excluding tests with arrow functions. finally 🐛
2016-12-23 00:10:06 -06:00
Sean Larkin
7932486438
fix non resolved path for windows
2016-12-22 13:41:59 -06:00
Sean Larkin
288111b018
extracted config gathering fn
2016-12-22 13:35:02 -06:00
Sean Larkin
2f8e3fcebb
fix(tests): add filter infra to ConfigTestCases
2016-12-22 13:29:03 -06:00
Sean Larkin
0c57f26d5e
beautify, remove comments, debuggers
2016-12-22 12:20:50 -06:00
Sean Larkin
1c8c5b993a
fix(RuleSet): allow array of functions returning either string or loader objects
2016-12-22 12:14:54 -06:00
Sean Larkin
199ac33f30
fix(test): Filter ES6 features from node v0.12. Fixes #3552
2016-12-22 10:15:05 -06:00
Roman Vyakhirev
48c3c8585c
Update stats tests
2016-12-22 13:27:17 +01:00
Tobias Koppers
6cb38d5213
Merge pull request #3550 from webpack/test/disable-flanky-test
...
disable flanky test
2016-12-22 10:50:32 +01:00
Tobias Koppers
00a4fa6ad6
Merge pull request #3544 from webpack/bugfix/add_require_ensure_arrow_function_expression_support
...
fix(require.ensure): add ArrowFunctionExpression support: Fixes #959
2016-12-22 08:41:14 +01:00
Tobias Koppers
6abf46c91e
Merge pull request #3546 from webpack/test/watch-ignore-plugin
...
watch ignore plugin
2016-12-22 08:39:45 +01:00
Tobias Koppers
c94c369fd3
disable flanky test
2016-12-22 08:32:57 +01:00
Sean Larkin
6279014c82
add test case for ArrowFunctionExpression with SequenceExpression in body
2016-12-21 17:30:20 -06:00
Tobias Koppers
bd10fca49a
use webpack instead of Compiler in test
2016-12-21 23:39:39 +01:00
Tobias Koppers
7f6488f2c4
add watch-ignore-plugin test case
2016-12-21 22:56:20 +01:00
Tobias Koppers
0d0f7e0062
allow webpack.config.js in watch test
2016-12-21 22:56:16 +01:00
Tobias Koppers
1aea400199
add test cases
2016-12-21 22:11:48 +01:00
Sean Larkin
a48a074bd4
fix(require.ensure): add ArrowFunctionExpression support: Fixes #959
2016-12-21 14:09:59 -06:00
Tobias Koppers
71cf49a259
add depth to module
...
add depth to stats
fix stats spacing (fixes #3541 )
add maxModules to stats, default to 15 (fixes #3540 )
2016-12-21 18:03:20 +01:00
Tobias Koppers
8059be6d66
Merge pull request #3481 from webpack/test/case-sensitive
...
add test case for case sensitive module warning
2016-12-21 15:36:29 +01:00
Tobias Koppers
0d2b6399f2
only run test on case insenstive filesystems
2016-12-21 14:57:39 +01:00
Sean Larkin
a4106ea98f
fix(stats): allow stats to respect config for MultiCompiler, MultiStats
2016-12-19 16:53:30 -06:00
Tobias Koppers
e299d600f7
ignore extra compilation while testing watching
2016-12-19 20:03:15 +01:00
Tobias Koppers
bcc0227089
add infrastructure for watch tests
2016-12-17 09:05:34 +01:00
Tobias Koppers
ba0b4c1245
Merge pull request #3505 from fastest963/master
...
Pass mangle options to ast.figure_out_scope in uglify
2016-12-17 07:25:54 +01:00
James Hartig
0676304822
Pass mangle options to ast.figure_out_scope in uglify
2016-12-16 16:19:06 -05:00
Tobias Koppers
ea3b2303a8
fixes an error where errors are not cleared in cached module
2016-12-16 19:12:47 +01:00
Tobias Koppers
c87d3ec523
Merge pull request #3428 from webpack/feature/performance
...
performance improvements
2016-12-14 21:18:44 +01:00
Tobias Koppers
ee848b8eae
Merge pull request #3434 from webpack/bugfix/commons-chunk-condition
...
check chunk condition before moving into commons chunk
2016-12-14 21:17:49 +01:00
Tobias Koppers
6611122fc2
Merge pull request #3483 from webpack/bugfix/performance-limit
...
Bugfix/performance limit
2016-12-14 21:15:11 +01:00
Tobias Koppers
0a65ed7255
Merge pull request #3482 from webpack/test/loader-error-warning
...
add test case for emitError and emitWarning
2016-12-14 17:25:04 +01:00
Tobias Koppers
ca4140f7b4
add tests
2016-12-14 16:42:17 +01:00
Tobias Koppers
f4ab7fc7e2
more performance improvements
2016-12-14 16:22:54 +01:00
Tobias Koppers
106995ea1f
Merge pull request #3445 from webpack/feature/include_loader_alias_query
...
feature(alias): allow loader query to be used for aliased loader
2016-12-14 16:05:48 +01:00
Tobias Koppers
6758a30724
Merge pull request #3442 from webpack/fix/double-use-strict
...
Fix double "use strict"
2016-12-14 15:27:27 +01:00
Tobias Koppers
86aa0f4928
Merge pull request #3478 from webpack/bugfix/escape-require-context-id
...
Bugfix/escape require context
2016-12-14 15:13:33 +01:00
Tobias Koppers
78e940d6b6
add test case for emitError and emitWarning
2016-12-14 14:36:27 +01:00
Tobias Koppers
c0b5515dbe
Merge pull request #3477 from webpack/feature/validation
...
Improve validation errors
2016-12-14 14:30:11 +01:00
Tobias Koppers
351a587080
add test case for case sensitive module warning
2016-12-14 14:28:29 +01:00
Tobias Koppers
97eaed1360
add test case
2016-12-14 14:12:48 +01:00
Tobias Koppers
3349e46faf
fixes stats output
2016-12-14 13:54:49 +01:00
Tobias Koppers
69d4532d84
fixes test case
2016-12-14 13:40:46 +01:00
Tobias Koppers
9598f6484e
add another test case
2016-12-14 13:34:30 +01:00
Tobias Koppers
980c2a9c85
add test cases and fixes overwrite
2016-12-14 13:27:33 +01:00
Tobias Koppers
78e9d83cfd
add test case for use strict inserting
2016-12-14 12:56:59 +01:00
Johannes Ewald
b51f2b0a0f
Fix double "use strict"
...
This fixes a problem where webpack rendered modules with two "use strict" statements at the beginning
2016-12-14 12:35:12 +01:00
Tobias Koppers
ed558f2cad
add test for escaping require.context id
2016-12-14 12:03:39 +01:00
Tobias Koppers
d08c9b180e
flag entrypoint in stats too
2016-12-14 11:50:44 +01:00
Tobias Koppers
3c1086303f
Improve validation errors
2016-12-14 11:34:57 +01:00
Tobias Koppers
37b7474651
Refactoring, make options simpler
...
breaking change: performance options changed
2016-12-14 11:33:57 +01:00
Sean Larkin
541ec7ce08
feat(performance): don't include .map files in perf warnings
2016-12-13 10:25:32 -06:00
Sean Larkin
950b4643bf
chore(tests): add additional case for direct loader alias override
2016-12-13 09:45:20 -06:00
Sean Larkin
1999af3ef6
feature(alias): allow loader query to be used for aliased loader
2016-12-08 02:58:56 -06:00
Sean Larkin
0dc429a4b9
Merge pull request #3086 from jamestautges/master
...
Cache portable id to avoid expensive function call
2016-12-07 16:49:45 -06:00
Tobias Koppers
a148d6e754
Merge pull request #3350 from webpack/feature/custom_stats
...
feat(performance): webpack performance budgets
2016-12-07 23:11:29 +01:00
Tobias Koppers
7de320beee
Merge pull request #3435 from webpack/bugfix/harmony-babel
...
fixes using webpack harmony modules from babel
2016-12-07 22:54:52 +01:00
Sean Larkin
e7c2aa624b
chore(performance): prevent duplicate error messages from appearing
2016-12-07 17:22:21 +01:00
Sean Larkin
2bd0b844cb
chore(performance): add new test for stats testing case for NoAsyncChunks
2016-12-07 17:22:21 +01:00
Sean Larkin
44f6f07ec2
chore(performance): cleanup logic errors, reformat test expects with new colomn [big] format if empty
2016-12-07 17:22:20 +01:00
Sean Larkin
72f049c00e
chore(performance): remove lodash dependency for big ass buffer.toString module at fixed size
2016-12-07 17:22:20 +01:00
Sean Larkin
93ae6bc32a
chore(performance) cleanup unused functionality, partial cleanup
2016-12-07 17:22:18 +01:00
Sean Larkin
9894b58dd1
fix(performance): modified values to 250kb across the board for accurate reporting, modified string logic
2016-12-07 17:22:18 +01:00
Sean Larkin
4eff4d74a0
fix(performance): removed hashes from expected.txt because hash changes beteween node v4 and v6/7
2016-12-07 17:22:17 +01:00
Sean Larkin
b2622e1bd9
fix(performance): corrected tests, removed options access from stats, added mocks for web target check
2016-12-07 17:22:14 +01:00
Sean Larkin
65a12dbc79
chore(test): removed accidentally generated test bundles
2016-12-07 17:22:14 +01:00
Sean Larkin
774a89b583
feat(perfbudgets): added errorOnHint flag defaulting to false for opt-in
2016-12-07 17:22:13 +01:00
Sean Larkin
000dae1889
fix(tests): Updated tests across the board to work with perf budgets
2016-12-07 17:22:13 +01:00
Sean Larkin
e360c8b7c8
fix(test): update test, fix asset type case, and formatting
2016-12-07 17:21:27 +01:00
Sean Larkin
5747eff8c9
fix(beautify): run npm beautify
2016-12-07 17:21:24 +01:00
Sean Larkin
2741098198
feat(perfbudget): creat initialAssetsCost with hardcoded limit
2016-12-07 17:21:22 +01:00
Sean Larkin
e949aa1512
feat(perfbudgets): fixed issues with bad asset checking, and formatting
2016-12-07 17:21:22 +01:00
Sean Larkin
cbe2f06850
feat(perf): added initial setup for perf plugins, need to configure test cases and stats output based on perf props
2016-12-07 17:21:18 +01:00
Tobias Koppers
2375680e40
add __esModule for harmony modules which are used from non-harmony
2016-12-07 16:27:24 +01:00
Johannes Ewald
993aeab5b1
Add support for .json files out of the box
...
See https://github.com/webpack/webpack/issues/3363
2016-12-07 11:43:47 +01:00
Sam
68c44ad842
chore(): add test cases
2016-12-07 10:16:07 +01:00
Tobias Koppers
fbb8920f2e
Merge pull request #3419 from webpack/bugfix/import-export-order
...
insert import and exports in order
2016-12-05 00:34:10 +01:00
Tobias Koppers
a8740fd44c
insert import and exports in order
...
fixes #3382
2016-12-04 23:51:33 +01:00
Tobias Koppers
bfc1359a86
improved tree shaking for star exports
...
fixes #3415
2016-12-04 23:50:52 +01:00
Tobias Koppers
11eefd5841
added import(), fixes #3098
2016-12-03 11:50:44 +01:00
Yuriy Ostapenko
76e10f3559
Do not exclude module from stats when loader path matches "exclude" filter (unhide module)
2016-11-28 14:36:39 +01:00
Yuriy Ostapenko
176db50f1f
Do not exclude module from stats when loader path matches "exclude" filter (assert current behavior)
2016-11-28 14:35:12 +01:00
Tobias Koppers
f4adee3e9d
Merge pull request #3360 from webpack/bugfix/loader-options-remaining-request
...
fixes a bug in which complex options are not passed through chain
2016-11-23 22:28:45 +01:00
Tobias Koppers
3e86907891
Merge pull request #3349 from webpack/feature/query-match
...
added resourceQuery condition
2016-11-23 22:28:27 +01:00
Luna Frank-Fischer
5a4e39fe71
added nonce capability
...
change expected outputs of stats cases so they match new output
added nonce test to browser tests
2016-11-23 12:53:56 -08:00
Tobias Koppers
d97b328f1d
improve coverage
2016-11-23 12:12:32 +01:00
Tobias Koppers
efa3fc058b
added resourceQuery condition
...
added function use to schema
2016-11-23 12:12:32 +01:00
Tobias Koppers
5f9dd3c219
fixes a bug in which complex options are not passed through chain
2016-11-23 12:11:07 +01:00
Tobias Koppers
8da6f6c81a
don't shim shims and update node-libs
2016-11-23 11:31:24 +01:00
Diogo Franco (Kovensky)
ebd6af2cdb
Support basic template string simplification
2016-11-21 08:37:22 +09:00
Diogo Franco (Kovensky)
36d5aae046
Improve tests, check AMD and CommonJS too
2016-11-21 08:37:22 +09:00
Diogo Franco (Kovensky)
52d8fbc8c1
Add test cases
2016-11-21 08:37:22 +09:00
Tobias Koppers
1142d05487
Merge pull request #3302 from webpack/feature/opt-in-exp-handling
...
added strictModuleExceptionHandling option
2016-11-17 08:35:27 +01:00
Tobias Koppers
fe6790121a
Merge pull request #3303 from webpack/bugfix/cli
...
`--module-bind` automatically appends `-loader`
2016-11-17 08:35:17 +01:00
Tobias Koppers
e4dfd201f1
add test cases for #3235
2016-11-16 13:47:03 +01:00
Tobias Koppers
712a91488d
`--module-bind` automatically appends -loader
...
fixes browsertests
2016-11-16 13:32:16 +01:00
Tobias Koppers
b87bfc0399
added strictModuleExceptionHandling option
...
fixes #1729
2016-11-16 13:09:38 +01:00
Tobias Koppers
1237fdedbd
add test with dynamic indexed access to imports
2016-11-15 11:28:34 +01:00
Tobias Koppers
98a232b889
fixes indexed import
...
fixes #3116
2016-11-15 11:28:34 +01:00
Tobias Koppers
5b2afd0bf7
Merge pull request #3266 from webpack/feature/no-dedupe
...
removed DedupePlugin
2016-11-15 11:26:38 +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
Tobias Koppers
5803fd7fe3
display a note about the breaking change when forgot the -loader prefix
2016-11-14 21:25:26 +01:00
Tobias Koppers
aefe8d67a3
support desctruction for variable declaration
...
fixes #3273
2016-11-14 00:23:50 +01:00
Tobias Koppers
ba93f8481b
Merge pull request #3247 from webpack/feature/amd-require-error-handling
...
Feature/amd require error handling
2016-11-09 15:42:31 +01:00