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
Tobias Koppers
1a21859291
Merge pull request #3259 from zhaoshengjun/issue-3252
...
fix issue #3252
2016-11-09 15:40:46 +01:00
zhaoshengjun
67b2f59ce5
chore(): Refactor code and fix test filter
2016-11-09 22:20:12 +10:00
Tobias Koppers
1b24bcff9d
Merge pull request #3255 from Kovensky/log-filtered-test-cases
...
Log filtered test cases as skipped
2016-11-09 08:54:00 +01:00
zhaoshengjun
3ca9718ec4
add testing file
2016-11-09 13:31:21 +10:00
zhaoshengjun
4eff59777e
fix(defaultAssign): fix default argument assignment( #3252 )
2016-11-09 11:25:18 +10:00
Tobias Koppers
bbd6eb77e9
Merge pull request #3250 from Kovensky/issue-3238
...
Fix issue #3238
2016-11-08 17:39:50 +01:00
Diogo Franco (Kovensky)
a8fd8e5ec6
Add missing test description
2016-11-08 20:55:58 +09:00
Diogo Franco (Kovensky)
ff2342001a
Add a filter to issue-2895
...
Skips the test in Node 0.12, which doesn't support const.
2016-11-08 20:51:27 +09:00
Diogo Franco (Kovensky)
2db41434e2
Fix lint error
2016-11-08 20:42:49 +09:00
Diogo Franco (Kovensky)
9a5c3cf21b
Log filtered test cases as skipped
2016-11-08 20:09:48 +09:00
Diogo Franco (Kovensky)
1e7bbfef0f
Add a test filter to skip platforms where it would crash
2016-11-08 20:08:55 +09:00
Tobias Koppers
28d3a1b83b
improved PR, fixed some minor issues
2016-11-08 08:42:22 +01:00
Alexander Inozemtsev
16e7383202
Fix AMD require call with three arguments
...
fixes #2641
2016-11-08 08:42:13 +01:00
Diogo Franco (Kovensky)
996a4b660b
Fix issue #3238
2016-11-08 10:40:34 +09:00
Kees Kluskens
9158378f44
... and update tests too
2016-11-04 00:31:49 +01:00
Kees Kluskens
c8fd638036
Fix validation schema accepting invalid values when `instanceof` is used
2016-11-03 23:52:59 +01:00
Michael Wang
4bd0ee382d
update test to fix typo
2016-11-01 13:49:14 -04:00
Diogo Franco (Kovensky)
fc8b1d348d
Add async/await support to Parser
2016-10-31 10:48:33 +09:00
Sean Larkin
8d8a7f2822
Merge branch 'master' into update-deps
2016-10-27 08:19:24 -05:00
Sean Larkin
01f36a7fa9
Merge branch 'master' into fix-1792
2016-10-27 07:48:04 -05:00
e-cloud
4098d29d01
test: fix the illegal syntax in a module for test
...
this is related to #1792 , after removing the ilegal code,
the code still cover the cases except case 3.
2016-10-27 14:22:30 +08:00
e-cloud
ebaa00da10
test: update the affected test case with proper interfaces
...
this adjusts the testcase with the new `should` module introduced by
last commit.
2016-10-27 14:15:09 +08:00
Sean Larkin
84ba3c4cb2
Merge branch 'master' into chore/skip-macaddress-globals
2016-10-26 14:10:48 -05:00
Sean Larkin
a4ad44c31b
fix(travis): fix yarn link and yarn link webpack commands ( #3191 )
...
* fix(travis): trying alternate logic for linking packages for yarn
* fix(travis): removing msie flag for appveyor for yarn install
* Update .travis.yml
Update logic for link command
* Update appveyor.yml
Removed logic from AppVeyor since directory is not cached, it will be fresh install and link every time.
* chore(beautify): fixed beauitfy errors not caught from previous PR
* chore(yarn): remove yarn.lock
* chore(gitignore): ignore future yarn.lock files
2016-10-26 14:09:27 -05:00
Giuseppe Piscopo
aabe9ed6f5
chore(test): move mocha command line option to file
2016-10-26 16:12:57 +02:00
Tobias Koppers
72cf5f6336
Merge pull request #3175 from BrainCrumbz/feat/ruleset-error-context
...
feat(ruleset): show context in error when `exclude` holds undefined item
2016-10-26 12:36:00 +02:00
Damien Soulard
a3bfd1e126
Remove automatic -loader module name extension ( #3102 )
...
* fix-2986: Remove automatic -loader module name extension
* remove-automatic-loader-extension: update examples
* fix-2986: Remove automatic -loader module name extension
* fix-2986: Remove automatic -loader module name extension
* fix-2986: Remove automatic -loader module name extension
* Revert changes from spaces to tabs
2016-10-25 23:03:59 +02:00
Giuseppe Piscopo
f2c0e59e06
feat(ruleSet): extend error context to resource and issuer
2016-10-23 01:46:15 +02:00
Giuseppe Piscopo
6dd2863899
feat(ruleSet): show context when exclude holds `undefined`
2016-10-22 20:20:22 +02:00
John-David Dalton
80e8824f02
feat(test) use min reporter to show only failing tests (reduce noise) ( #3133 )
2016-10-14 11:28:58 -05:00
James Tautges
80d713ec7e
Test identifier caching
2016-10-04 17:25:37 +01:00
Kostas Manionis
36b7f21b92
Fix plugin typos in options validation
2016-09-28 13:54:46 +03:00
Tobias Koppers
99a34ccb8a
fix test
2016-09-21 17:44:57 +02:00
Tobias Koppers
c231fe3e9d
fixed Validation message
2016-09-21 17:27:07 +02:00
Tobias Koppers
bb9d307b2e
fixed dll test cases
2016-09-21 17:26:25 +02:00
Tobias Koppers
d3eaed97bc
fixed browsertest
2016-09-21 16:48:45 +02:00
Tobias Koppers
a9d0319a40
beautify
2016-09-20 20:54:09 +02:00
Tobias Koppers
28498b7376
fixed max line length
2016-09-20 20:29:07 +02:00
Tobias Koppers
7f31a49581
special error message for custom properties in configuration
2016-09-20 20:18:52 +02:00
Tobias Koppers
a6a389c5c0
fixed order in test
2016-09-20 19:53:42 +02:00
Tobias Koppers
b21db812bc
fixed test
2016-09-20 19:39:20 +02:00
Tobias Koppers
b2e8f96f2c
updated tests for removed pre and post loaders
2016-09-20 00:54:35 +02:00
Tobias Koppers
6c38cf9854
fixes to tests and examples
2016-09-20 00:19:55 +02:00
Moorthy Venkatraman
be39508aa2
Supplying extensions when constructing DllReferencePlugin
2016-09-19 21:56:02 +02:00
Tobias Koppers
c948c81f3e
added harmony test case
2016-09-19 21:13:32 +02:00
Tobias Koppers
808b32ac61
added test cases for extract-text-plugin
2016-09-19 21:13:32 +02:00
Tobias Koppers
8c3d97d933
add test
...
better error messages
validate array
more options in schema
stricter schema
fix some old configs
2016-09-19 00:54:35 +02:00
Gajus Kuizinas
ccf9da2171
fix: use LoaderOptionsPlugin to set updateIndex
2016-09-17 20:21:07 +01:00
Gajus Kuizinas
9879466df6
fix: remove unsupported property "optimize"
2016-09-17 20:21:07 +01:00
Tobias Koppers
61972f42f9
fixed bugs in RuleSet, added tests
2016-09-15 08:39:53 +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
9c9b20af6d
better test cleanup
2016-09-15 00:22:10 +02:00
Tobias Koppers
37066fc692
fix another bug observed in #2977
2016-09-09 14:50:14 +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
Tobias Koppers
a14e563f67
removed LabeledModules
2016-09-07 12:25:02 +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
9ccbd260b5
more info in tests stats.txt files
2016-09-07 09:46:27 +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
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
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
Tobias Koppers
378163af51
moved non-harmony default import function into runtime
...
#2451
2016-07-20 16:20:09 +02:00
Tobias Koppers
706c76c379
fixed #2600
2016-07-20 15:42:52 +02:00
Tobias Koppers
c7261412cf
added test case for commons chunk plugin with umd library
...
#2066
2016-07-20 15:11:29 +02:00
Tobias Koppers
f8e3bdf5e7
added test for System.import and ContextReplacementPlugin
2016-07-20 12:52:01 +02:00
Tobias Koppers
0c78ca7e4e
ContextReplacementPlugin should remove critical dependency warnings
2016-07-20 12:51:40 +02:00
Tobias Koppers
1675a5a5ca
new way to handle new ids, reuse old ids
...
adjusted HMR to handle id reusing
2016-07-18 00:41:26 +02:00
Tobias Koppers
e38e2d558e
more test timeout, updated plugin version
2016-07-13 12:45:56 +02:00
Tobias Koppers
2f618e733a
refactoring and aggressive-splitting plugin
2016-07-13 11:03:14 +02:00
Tobias Koppers
3a6b649016
star import a non-harmony modules behaves like require
...
fixes #2732
2016-07-04 10:24:04 +02:00
Tobias Koppers
1ee3585fa1
compilation error don't affect parent module
...
recover after syntax error
assume es6 module on syntax error
#2117
2016-07-03 13:13:01 +02:00
Tobias Koppers
bd35d4f65d
allow to ignore errors and fire events
2016-07-02 17:30:21 +02:00
Tobias Koppers
59527bf3c7
more reliable HMR test cases
2016-06-29 14:42:21 +02:00
Tobias Koppers
78307a937f
allow to display used exports
...
support Tree Shaking with import *
fixes #2713
2016-06-29 01:17:59 +02:00
Tobias Koppers
1cd6c4eeba
better error messages in HMR
...
events for ignored updates
warnings to console when updates are ignored
2016-06-24 11:17:25 +02:00
Tobias Koppers
c9143d49c7
warn when name is imported that is not exported
2016-06-24 01:52:28 +02:00
Tobias Koppers
e81a2d0d57
increase timeout for test
2016-06-24 01:52:01 +02:00
Tobias Koppers
5903cc7b0b
refactor how critical warnings are reported
2016-06-24 01:51:52 +02:00
Tobias Koppers
d7e67e462a
more time for the test (travis mac fails)
2016-06-22 10:37:14 +02:00
Tobias Koppers
f6efe19d06
added support for default arguments
...
fixes #2622
2016-06-16 01:05:17 +02:00
Tobias Koppers
64972f2f2d
hoist imports
...
fixes #2528
2016-06-16 01:05:17 +02:00
Tobias Koppers
7109be58b3
detect main module more reliable
...
#2648
2016-06-16 01:05:17 +02:00
Mark Penner
c867a4fc00
Removed `sourcePrefix` option -- fixes https://github.com/webpack/webpack/issues/166#issuecomment-224710378
2016-06-09 14:09:54 -07:00
Tobias Koppers
314c897682
Merge pull request #2113 from TheLarkInn/master
...
Fixes #1431 . Add the ability to add auxiliary comments in UMD wrapper.
2016-06-08 18:39:46 +02:00
Tobias Koppers
dc22ae2da2
added test filter to exclude const usage from old node.js
2016-06-08 18:37:22 +02:00
Sean Larkin
5b250242bd
Merge
2016-06-08 10:22:25 -05:00
Tobias Koppers
5a26e8c651
update test for changed bundle size
2016-06-08 00:22:43 +02:00
Tobias Koppers
1ad7e7c0be
fixes #2618
...
This increases bundle size for non-es6-modules users.
But decreases size of es6-modules users.
We should fix this later.
2016-06-08 00:22:43 +02:00
Tobias Koppers
d9e8ac07c8
added more harmony test cases
2016-06-08 00:22:43 +02:00
Tobias Koppers
bb27b2e9fc
remove console.log
2016-06-08 00:22:43 +02:00