Commit Graph

777 Commits

Author SHA1 Message Date
Sean Larkin a01eeb6af0 Merge pull request #4057 from shubheksha/refactor-test-compareLocations
refactor(ES6): compareLocations.test.js
2017-01-21 10:03:05 -06:00
Sean Larkin 5005837cdc Merge pull request #4004 from shubheksha/refactor-test-CachePlugin
refactor(ES6): CachePlugin.test.js
2017-01-21 09:57:52 -06:00
Sean Larkin ba9279d2e0 Merge pull request #4058 from shubheksha/refactor-test-formatLocation
refactor(ES6): formatLocation.test.js
2017-01-20 16:03:07 -06:00
Tobias Koppers 9d0ca6ff7b Merge pull request #4001 from shubheksha/test-WebWorkerHotUpdateChunkTemplatePlugin
Added tests for WebWorkerChunkTemplatePlugin
2017-01-20 17:19:53 +01:00
Sean Larkin 50cafde97d Add explicit directions to link. 2017-01-20 02:23:12 -06:00
Tobias Koppers db45446b85 Merge pull request #3904 from willmendesneto/adding-web-environment-plugin-test
test(WebEnvironmentPlugin): adding missed test
2017-01-18 16:08:39 +01:00
Tobias Koppers e1d7fb03b4 Merge pull request #3991 from webpack/test/devtools
add tests for harmony with devtools
2017-01-18 16:02:19 +01:00
Tobias Koppers 3f2df0ece2 interpolate between data points 2017-01-18 14:10:35 +01:00
Tobias Koppers 78839b2352 add more benchmark cases 2017-01-18 13:20:42 +01:00
Tobias Koppers 6192b39d2d use mathematical correct confidence interval
reset git tree correctly when loading stuff
fix error when errors in benchmark occur
2017-01-18 13:20:29 +01:00
Shubheksha Jalan 5e9b02043d refactor(ES6): formatLocation.test.js 2017-01-18 16:05:43 +05:30
Tobias Koppers a0dfa8ca6d add benchmarking system 2017-01-18 03:29:50 +01:00
Tobias Koppers ba7b3aabbf add tests for harmony with devtools 2017-01-17 19:38:41 +01:00
Shubheksha Jalan 90acdfa6cb refactor(ES6): compareLocations.test.js 2017-01-17 21:47:54 +05:30
Shubheksha Jalan 92a67ee10b refactor(ES6): CachePlugin.test.js 2017-01-17 20:01:48 +05:30
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
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