Tobias Koppers
cd9525ad4c
Upgrade some dependencies
2018-08-29 20:06:15 +02:00
Tobias Koppers
02b15a1b46
pass chunkGraph to updateHash instead of moduleGraph
...
pass chunkGraph to compareModulesById instead of moduleGraph
pass chunkGraph to methods of RuntimeTemplate
use comparators from module at some places
2018-08-28 12:06:53 +02:00
Tobias Koppers
1b886ee342
improve prettier and lint config and performance
2018-08-24 16:57:16 +02:00
Tobias Koppers
670502fc81
Move AsyncDependenciesBlock.chunkGroup into ChunkGraph
2018-08-22 20:17:49 +02:00
Tobias Koppers
e0f84652c0
remove Module.prefetched
...
remove prefeteched from Stats
make Compilation.addModuleChain public and remove onModule argument
remove Compilation.prefetch
2018-08-22 15:19:05 +02:00
Tobias Koppers
b20556c1ff
move profile to ModuleGraph
2018-08-22 14:54:28 +02:00
Tobias Koppers
26022c86a0
move Module.depth into ModuleGraph
...
nested modules no longer have depth and stay unsorted in stats
2018-08-22 12:45:11 +02:00
Tobias Koppers
4f65deb7dd
Merge tag 'v4.17.1' into next
...
4.17.1
2018-08-22 12:43:12 +02:00
Tobias Koppers
a92c23ef76
fixes #7930
2018-08-22 11:11:37 +02:00
Tobias Koppers
42167db4af
move Module.index and index2 into ModuleGraph
2018-08-21 16:16:51 +02:00
Tobias Koppers
4dfe88edb0
add moduleGraph argument to comparators
2018-08-21 11:08:07 +02:00
Tobias Koppers
c21d59f783
Merge tag 'v4.17.0' into next
...
4.17.0
2018-08-21 11:02:16 +02:00
Tobias Koppers
45e798af68
Merge pull request #7827 from AoDev/feat/ignore-plugin-check-fn
...
feat(IgnorePlugin): allow user to provide his own check functions
2018-08-21 10:24:32 +02:00
Tobias Koppers
c2e03951f4
Merge pull request #7922 from webpack/bugfix/concat-globals
...
fix exporting globals in scope-hoisted modules
2018-08-20 18:09:37 +02:00
Tobias Koppers
9315ce29aa
fix exporting globals in scope-hoisted modules
...
fixes #7905
2018-08-20 10:54:05 +02:00
Tobias Koppers
c253b4b130
chunk ids contribute to contenthash for javascript
...
fixes #7915
2018-08-20 10:04:33 +02:00
Florent Cailhol
7b02084bc5
Replace Basic and Advanced optimzation hooks by stages
2018-08-16 14:10:51 +02:00
Tobias Koppers
6d5310fbd6
allow multiple entryModules per chunk
...
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Kevin Purnelle
6235e99248
feat(IgnorePlugin): allow user to provide his own check functions
...
The user can provide checkResource and checkContext functions that
will be called with current resource or context respectively.
These functions should return a boolean to decide whether the module
should be ignored or not.
Now the constructor can accept a single option object.
```
const resourceRegExp = /a_regex/
const contextRegExp = /another_regex/
// before:
new webpack.IgnorePlugin(resourceRegExp, contextRegExp)
// alternative:
new webpack.ignorePlugin({resourceRegExp, contextRegExp})
```
Note that from Webpack 5, only passing an object will be allowed,
so we could encourage people to migrate already.
2018-08-14 17:20:10 +02:00
Tobias Koppers
3cf01999b5
add ChunkGraph
...
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers
72e8e5f552
fix nested modules
2018-08-09 20:32:31 +02:00
Florent Cailhol
a945054079
Hide modules that are not emitted in stats
2018-08-09 20:22:09 +02:00
Tobias Koppers
ac09ae1418
add more test cases
...
improve harmony-duplicate-export test cases to allow scope-hoisting
2018-08-09 15:45:49 +02:00
Tobias Koppers
3347700225
improve optimization bailout message usefulness
2018-08-09 15:45:30 +02:00
tsangint
1d95e524b3
Update Jest URL
2018-08-09 01:27:40 +08:00
Tobias Koppers
227952c914
put reexports into the correct init section when possible
...
fixes #7857
2018-08-08 14:12:54 +02:00
Tobias Koppers
d6cf42e4c2
merge used with usedExports
...
usedExports = false now means module is not used
2018-08-06 21:05:11 +02:00
Tobias Koppers
c4e0a9f72e
Move Module.used and Module.usedExports into ModuleGraph
2018-08-06 21:04:01 +02:00
Tobias Koppers
565b569b68
Merge tag 'v4.16.5' into next
...
4.16.5
2018-08-06 09:20:57 +02:00
Tobias Koppers
17ebfb9784
fix #7829
...
webpack-hot-client seem to call `addEntry` multiple
which causes two Entrypoints with the same name
This lead the bad side effects
i. e. optimization.runtimeChunk no longer works correctly
Now adding an entry with the same name replaces the existing entry
2018-08-03 11:09:26 +02:00
Tobias Koppers
5539f57ba8
Merge pull request #7839 from skingston91/master
...
fixes 7778: query string in dynamic import()
2018-08-03 09:40:21 +02:00
Tobias Koppers
1138d32bfb
Merge pull request #7840 from webpack/test/watch-cases
...
update watch test cases for new jest integration
2018-08-03 09:21:58 +02:00
Tobias Koppers
61633aa91c
fix #7778
...
remove prepend in favor of replaces
improve code style in ContextDependencyHelpers
2018-08-03 09:20:23 +02:00
Tobias Koppers
795cc352c5
Improve error reporting while recompilation in HotCases
2018-08-03 08:10:53 +02:00
Tobias Koppers
3e30c70d39
Merge pull request #7830 from ryota-murakami/patch-1
...
Update Jest Homepage URL
2018-08-02 20:25:00 +02:00
Tobias Koppers
975f33df68
remove invalid unittests
2018-08-02 17:54:45 +02:00
Tobias Koppers
3ef5475183
filter connections while replacing module
2018-08-02 17:54:44 +02:00
Tobias Koppers
381e2db200
replace Module.reasons and Dependency.module with ModuleGraph
2018-08-02 17:54:44 +02:00
skingston91
73dff6cbd5
Update index.js
...
Remove name from test
2018-08-02 16:04:47 +01:00
Tobias Koppers
f5be9a62d4
update watch test cases for new jest integration
2018-08-02 16:58:41 +02:00
Steven
ea5c68bc37
Adds test cases for issue 7778
2018-08-02 15:44:19 +01:00
Tobias Koppers
c9eb4c8e01
Merge tag 'v4.16.4' into next
...
4.16.4
2018-08-02 16:00:39 +02:00
Tobias Koppers
fb2236f734
Merge pull request #7818 from webpack/test/browsertest
...
Remove outdated/unused test suites
2018-08-02 15:13:17 +02:00
Tobias Koppers
a2bddc9195
Merge pull request #7821 from webpack/refactor/use_runtime
...
Use RuntimeTemplate to generate error code
2018-08-02 15:12:28 +02:00
Tobias Koppers
01cfe5b67a
improve way of adding exported tests to test tree
2018-08-02 14:45:50 +02:00
ryota-murakami
cdf042c251
Update Jest homepage URL
2018-08-01 15:47:00 +09:00
Florent Cailhol
367b02a0f0
Use RuntimeTemplate to generate error code
2018-07-31 09:01:06 +02:00
Tobias Koppers
b2dca34043
some properties of dependencies should contribute to hash
2018-07-30 23:07:25 +02:00
Tobias Koppers
a02862e10f
remove injected-vars from test case, because it no longer bails-out
2018-07-30 22:39:43 +02:00
Tobias Koppers
07380569bb
update snapshots
2018-07-30 22:38:53 +02:00
Florent Cailhol
43c905553e
Update snapshots
2018-07-30 22:37:23 +02:00
Florent Cailhol
51a6dcba58
Remove outdated/unused test suite
2018-07-30 19:24:12 +02:00
Tobias Koppers
138687730a
only assign module ids for modules in chunks
...
handle weak dependencies without id correctly
2018-07-27 13:16:54 +02:00
Tobias Koppers
f63c9b8e43
Use natural ids in most stats cases to make them more stable
2018-07-27 12:28:02 +02:00
Tobias Koppers
6d9e4f315b
Use natural module/chunk ids in mode none
2018-07-27 12:27:57 +02:00
Tobias Koppers
3771daba6a
Merge tag 'v4.16.3' into next
...
4.16.3
2018-07-27 12:21:04 +02:00
Tobias Koppers
aac43687fd
fix case where empty chunkgroups cause nested chunkgroups to vanish
2018-07-27 10:56:01 +02:00
Florent Cailhol
41dd5a9ed1
Convert LocalModulesHelpers
2018-07-26 22:37:36 +02:00
Florent Cailhol
dad4a4c539
Convert SizeFormatHelpers
2018-07-26 22:37:21 +02:00
Tobias Koppers
2fa351a178
make ExportMode.module a callback function
...
fix comment
2018-07-26 15:53:11 +02:00
Florent Cailhol
60ef6a6a30
Make DependencyReference dynamic
2018-07-26 15:31:04 +02:00
Tobias Koppers
bc10939096
add types for Module and subclasses
...
better way to handle "optional" methods
2018-07-25 12:12:17 +02:00
Tobias Koppers
7036ec488b
remove the need to rewrite chunk in reasons
2018-07-23 12:20:47 +02:00
Tobias Koppers
66d3f319a6
Merge tag 'v4.16.2' into next
...
4.16.2
2018-07-23 12:19:16 +02:00
Tobias Koppers
b8c47a7688
Merge pull request #7628 from reduckted/dllreferenceplugin-graceful-json-parse-failure
...
Catch errors while parsing DLL manifest
2018-07-23 10:37:47 +02:00
Tobias Koppers
699fe21158
Merge pull request #7750 from ak-14/node-dependencies
...
Handle module.require, require.main.require, and module.parent.require
2018-07-23 10:34:53 +02:00
Abdulrahman Alkhelaifi
80c3e433c4
Handle module.require, require.main.require, and module.parent.require
...
- Resolve module.require dependencies
- Add require.main.require and module.parent.require as unsupported
2018-07-19 13:41:58 -07:00
Tobias Koppers
e80d49445c
fix sorting of reasons
2018-07-19 19:44:44 +02:00
Tobias Koppers
05f05e1759
Merge remote-tracking branch 'origin/refactor/chunk_module_ids' into remove/deprecated-optimization-ids
2018-07-16 10:38:43 +02:00
Tobias Koppers
5e72a6505a
remove deprecated optimization options
...
and update test cases
2018-07-16 10:32:02 +02:00
Tobias Koppers
86ff1a4642
Merge tag 'v4.16.1' into next
...
4.16.1
2018-07-16 10:30:31 +02:00
Tobias Koppers
3f13ed765f
Merge pull request #7706 from webpack/remove/format-location
...
update formatLocation to only accept location objects
2018-07-15 20:27:11 +02:00
Tobias Koppers
6f6cdf6eeb
add negation to test name
2018-07-15 10:09:21 +02:00
Tobias Koppers
9f0eeed919
fix unit test, add handling for line only location
2018-07-15 09:57:36 +02:00
Florent Cailhol
1f0e77c9de
Change how non-objects are handled
2018-07-14 22:36:02 +02:00
Florent Cailhol
445c2c889c
No longer accept strings in compareLocations
2018-07-14 22:35:43 +02:00
Florent Cailhol
3fdf0029b7
Fix Compiler tests
2018-07-14 22:17:55 +02:00
Florent Cailhol
0448c1c338
Use chunkIds and moduleIds
2018-07-14 21:59:42 +02:00
Tobias Koppers
b0518552e5
Merge pull request #7707 from webpack/remove/deprecated
...
remove deprecated stuff
2018-07-13 21:36:19 +02:00
Tobias Koppers
753dcce188
fix order of occurrence order plugin
...
remove enforced additional occurrence order plugin from test cases
make test cases more independent of module/chunk order/ids
2018-07-13 16:15:01 +02:00
Tobias Koppers
ff7d0f56e7
Merge pull request #7704 from webpack/refactor/dependency-templates
...
make DependencyTemplates a new class
2018-07-12 19:11:58 +02:00
Tobias Koppers
ef40df2d1f
fix usage of DependencyTemplates and types
2018-07-12 17:12:00 +02:00
Tobias Koppers
568601c7fa
remove `exec` from loader context
...
`require-from-string` can be used instead
2018-07-11 17:48:47 +02:00
Tobias Koppers
95ff4e96f7
remove loader options plugin from test cases
2018-07-11 13:08:19 +02:00
Tobias Koppers
2b14ddc984
Merge tag 'v4.16.0' into next
...
4.16.0
2018-07-11 11:13:47 +02:00
Tobias Koppers
3366421f17
Merge pull request #7663 from webpack/feature/automatic-name-prefix
...
automaticNamePrefix and name merging bugfix
2018-07-10 20:45:52 +02:00
Tobias Koppers
8891bd5f04
Merge pull request #7696 from webpack/bugfix/max-size-reasons
...
copy chunk reason to maxSize parts
2018-07-10 20:43:19 +02:00
Tobias Koppers
365beb1a6d
Merge pull request #7699 from webpack/ci/upgrade-jest
...
upgrade jest
2018-07-10 19:29:43 +02:00
Tobias Koppers
b32a4f5f64
Merge branch 'master' into bugfix/max-size-reasons
2018-07-10 16:13:47 +02:00
Tobias Koppers
a4825654eb
upgrade jest
2018-07-10 16:02:02 +02:00
Tobias Koppers
692faf2e45
sort ids in Stats numerical
2018-07-10 11:32:45 +02:00
Tobias Koppers
9362a65287
copy chunk reason to maxSize parts
2018-07-10 10:28:06 +02:00
Tobias Koppers
9f0056b10d
Merge pull request #7686 from webpack/feature/module-chunk-ids-option
...
add new options moduleIds and chunkIds
2018-07-10 10:19:03 +02:00
Raanan Weber
47aa3d0ffe
adding tests
2018-07-09 17:32:57 +02:00
Tobias Koppers
3fc4eb752f
add new options moduleIds and chunkIds
...
deprecate namedModules, hashedModuleIds, namedChunks
add a lot of TODOs for webpack 5
split OccurenceOrderPlugin into separate plugins for modules and chunks
add NaturalChunkOrderPlugin and enable it in development
2018-07-09 15:06:19 +02:00
Tobias Koppers
378f31b4f9
increase timeout for ConfigTestCases
2018-07-08 21:37:12 +02:00
Florent Cailhol
854bdafce4
Remove webpack.web.js and its deps
2018-07-06 11:48:19 +02:00
Tobias Koppers
6623a2e292
Merge tag 'v4.15.1' into next
...
4.15.1
2018-07-06 09:33:43 +02:00
Tobias Koppers
93a28126a6
fixes order for reexported dependencies
...
fixes #7665
2018-07-05 20:40:19 +02:00
Tobias Koppers
0c2ea9d5d0
add test case
2018-07-05 14:39:21 +02:00
Tobias Koppers
8e8f1856e9
fixes usage of automaticNameDelimiter in cache groups
2018-07-05 13:19:55 +02:00
Tobias Koppers
0e80d223f2
fix merge problem
2018-07-05 10:42:45 +02:00
Tobias Koppers
0a06f19fd8
Merge tag 'v4.15.0' into next
...
4.15.0
2018-07-04 22:19:50 +02:00
Tobias Koppers
bd2e3448ec
Merge tag 'v4.14.0' into next
...
4.14.0
2018-07-04 22:10:53 +02:00
Tobias Koppers
f0ae54d478
Merge tag 'v4.13.0' into next
...
4.13.0
2018-07-04 22:08:31 +02:00
Tobias Koppers
994675c4fe
Merge tag 'v4.12.2' into next
...
4.12.2
2018-07-04 21:55:42 +02:00
Tobias Koppers
fb2c24bf76
add `splitChunks.maxSize` option
...
add `splitChunks.fallbackCacheGroup`
add `splitChunks.hidePathInfo`
move `contextify` into utils
add some types
2018-07-04 10:45:02 +02:00
Florent Cailhol
d33f49d96f
Rename Parser into JavascriptParser
2018-07-03 14:08:43 +02:00
Tobias Koppers
0bb917bf3f
convert to a config test cases
2018-07-02 19:05:03 +02:00
Tobias Koppers
a39d6b0a6d
check for wasm support in test case
2018-07-02 17:45:07 +02:00
Tobias Koppers
5b30edebfc
allow filtering of tests in statsCases
2018-07-02 17:44:47 +02:00
Tobias Koppers
1ad71e01f9
add helpful error when importing wasm in initial chunk
2018-07-02 16:18:49 +02:00
reduckted
5b6f99b8d4
Used the compiler's context to get a relative path to the manifest file.
2018-07-02 21:53:16 +10:00
Tobias Koppers
2aac83bd95
rename optimization.splitChunks.cacheGroups.vendors -> defaultVendors
...
add automaticNamePrefix option
allow automaticNameDelimiter on cacheGroup level
2018-07-02 10:15:13 +02:00
reduckted
cb553050c3
Catch errors while parsing DLL manifest
...
If the DLL manifest is blank or malformed, parsing it will throw
an error, and if left uncaught will kill the process if webpack is
in watch mode. Catching the error and adding it to the compilation's
errors will result in a failed compilation, but will keep the
process running while in watch mode.
2018-06-30 22:46:00 +10:00
Tobias Koppers
6e68f96d16
Merge branch 'master' into feature/type-compiler-compilation-save
2018-06-29 19:02:35 +02:00
Tobias Koppers
5a185c954e
Merge pull request #7585 from webpack/feature/hook-into-get-reference
...
hook into dependency reference
2018-06-29 14:00:56 +02:00
Tobias Koppers
522b324f61
allow emitting to the same filename when hash matches
...
fixes webpack-contrib/mini-css-extract-plugin#190
fixes webpack-contrib/mini-css-extract-plugin#194
2018-06-29 10:03:21 +02:00
Tobias Koppers
43563b3afb
hotfix merge issue in watchCases (not in CI)
2018-06-28 17:32:41 +02:00
Tobias Koppers
b181bc47aa
Merge pull request #6793 from ronkorving/define-functions
...
DefinePlugin: add ability to use function return values
2018-06-28 14:01:23 +02:00
Tobias Koppers
e08399a02b
Merge pull request #7017 from rtsao/crossorigin-attr
...
Add script src origin check to ensure crossorigin attribute is only set when needed
2018-06-28 14:00:38 +02:00
Tobias Koppers
8420c73378
Merge branch 'master' into define-functions
...
# Conflicts:
# lib/DefinePlugin.js
# test/WatchTestCases.test.js
# test/statsCases/define-plugin/expected.txt
2018-06-28 12:05:00 +02:00
Tobias Koppers
5c4ffd5b90
fix tests and code
2018-06-28 11:11:24 +02:00
Tobias Koppers
6478fb9e2a
Merge branch 'master' into crossorigin-attr
2018-06-28 10:27:45 +02:00
Tobias Koppers
dcf3e09a84
Merge pull request #7399 from webpack/feat-implement-option-for-hashed-module-ids-plugin
...
feat: implement option for `HashedModuleIdes` plugin
2018-06-28 10:23:37 +02:00
Tobias Koppers
b451035acd
Merge branch 'next' into fix/runtime-chunk-filename
2018-06-27 16:00:00 +02:00
Tobias Koppers
d0c89618f3
Merge branch 'master' into feature/type-compiler-compilation-save
2018-06-27 14:58:10 +02:00
Tobias Koppers
7beac3c645
Merge branch 'master' into feature/hook-into-get-reference
2018-06-27 14:34:28 +02:00
Tobias Koppers
f6a86d8c6c
improve test case
2018-06-27 14:02:37 +02:00
Tobias Koppers
40ed1f0c8c
Revert "fix: update snapshot"
...
This reverts commit 3113aea57d
.
2018-06-27 12:58:52 +02:00
Tobias Koppers
e655de8291
Merge branch 'master' into feature/chunk-module-index
...
# Conflicts:
# test/__snapshots__/StatsTestCases.test.js.snap
2018-06-27 12:55:22 +02:00
Tobias Koppers
066cddaaa7
Merge pull request #7597 from webpack/refactor/disable_legacy_plugins
...
Disable legacy plugins
2018-06-27 12:51:58 +02:00
Tobias Koppers
3263e9524f
Merge pull request #7611 from webpack/refactor/node_env
...
Do not set nodeEnv when 'mode=none'
2018-06-27 12:49:37 +02:00
Florent Cailhol
6a02b60887
Fix tests
2018-06-27 11:23:08 +02:00
Florent Cailhol
b9b81b4002
Do not set nodeEnv when 'mode=none'
2018-06-27 11:18:20 +02:00
Florent Cailhol
91663f19a2
Remove deprecated APIs
2018-06-27 10:08:12 +02:00
Tobias Koppers
9dacf8676f
Merge pull request #7601 from webpack/bugfix/hash-entry-chunks
...
fixes #7577
2018-06-26 21:05:08 +02:00
Sean Larkin
3113aea57d
fix: update snapshot
2018-06-26 10:18:33 -07:00
Tobias Koppers
0f587763e1
add per chunk index and index2
...
refactor index generation
2018-06-26 18:26:47 +02:00
Sergey Tatarintsev
2f28947fa0
Fix: entrypoints use filename when runtimeChunk: 'single' is used
...
Fix #6598
2018-06-26 18:00:24 +02:00
Tobias Koppers
e38e076b98
fixes #7577
2018-06-26 17:19:37 +02:00
Tobias Koppers
258d9b6bf6
Merge pull request #7600 from webpack/bugfix/missing-module
...
fixes #7499
2018-06-26 16:12:36 +02:00
Tobias Koppers
ab7ecb30ee
fixes #7499
2018-06-26 15:27:44 +02:00
byzyk
022542f8a6
revert 'update defaults', update jest snapshot
2018-06-26 15:21:00 +04:00
Florent Cailhol
1f1aac8f26
Disable SystemJS plugin
2018-06-26 11:09:05 +02:00
Tobias Koppers
35a7f6586d
add test case
2018-06-25 18:41:44 +02:00
Tobias Koppers
720f3b271a
make hot cases better
2018-06-25 18:39:59 +02:00
Tobias Koppers
499ee8cc95
update stats snapshots
2018-06-25 15:43:42 +02:00
Tobias Koppers
ecdd6b1664
Merge branch 'master' into feature/type-compiler-compilation-save
2018-06-25 09:32:46 +02:00
Sean Larkin
f64f75e55f
revert function style, fix a few types, etc
2018-06-23 10:24:36 -04:00
Tobias Koppers
3502287bbb
emit correct code for reexport unused exports
2018-06-23 15:13:17 +02:00
Tobias Koppers
50fe2e79ee
add Compilation.getDependencyReference and hooks to override it
...
expose DependencyReference class
2018-06-23 15:13:14 +02:00
Tim Hambourger
1ef124143a
Implement all path variables for webworker dynamic imports
2018-06-22 00:16:14 -05:00
Sean Larkin
efc61e10f3
chore(test): update basic test snapshots
2018-06-21 14:59:27 +03:00
Sean Larkin
190305824f
chore(test): update snapshot
2018-06-21 14:52:51 +03:00
Tobias Koppers
7f937e82b3
Merge pull request #7560 from webpack/bugfix/cache-run
...
add test case for #7533
2018-06-20 13:17:41 +02:00
Tobias Koppers
5853ec5cae
add test case
2018-06-20 12:34:45 +02:00
Tobias Koppers
6f90257b5b
Merge pull request #7507 from webpack/feature/dependency-order
...
add order to dependency reference
2018-06-20 12:17:26 +02:00
Tobias Koppers
58ac64023c
Merge pull request #7558 from webpack/bugfix/split-chunks-reuse
...
fixes #7499
2018-06-20 10:39:39 +02:00
Tobias Koppers
2fa0ea62e7
add missing semicolon
2018-06-20 10:23:26 +02:00
Tobias Koppers
3f6450410a
improve error message for circular reexports
...
fixes #7547
2018-06-19 23:19:28 +02:00
Tobias Koppers
064967128e
add test case for #7533
2018-06-19 21:41:23 +02:00
Tobias Koppers
994613bc20
fixes #7499
2018-06-19 20:47:48 +02:00
Ryan Tsao
2755a0e82b
Remove redundant code after merge
2018-06-12 14:34:23 -07:00
Ryan Tsao
1943804f22
Fix tests
2018-06-12 14:18:34 -07:00
Ryan Tsao
774c0b9d89
Merge branch 'master' into crossorigin-attr
2018-06-12 14:13:52 -07:00
Tobias Koppers
b4699c0657
add order for DependencyReference
...
and add types for touched code
2018-06-08 13:20:57 +02:00
Tobias Koppers
5c604f93f6
Merge branch 'master' into feat-implement-option-for-hashed-module-ids-plugin
2018-06-07 14:21:09 +02:00
Tobias Koppers
b9229fa0a7
add parents correctly when creating namespace objects
...
fixes #7477
2018-06-07 10:00:31 +02:00
Tobias Koppers
9ac4045d5d
Merge pull request #7473 from webpack/feat/optional-catch-binding
...
Add support for ECMAScript 2019
2018-06-07 08:37:49 +02:00
Tobias Koppers
551384a26e
Merge pull request #7493 from webpack/bugfix/issue-7492
...
fixes #7492
2018-06-07 08:25:17 +02:00
Tobias Koppers
b4246451bb
Merge pull request #6542 from mc-zone/feature/module-build-error-with-loader-name
...
Add loader name to error message. Resolves #2878
2018-06-06 21:32:15 +02:00
Florent Cailhol
e4ac0838d4
Disable the test if UglifyJS is used
2018-06-06 21:30:53 +02:00
Florent Cailhol
c3ed2d340a
Change Parser unit test to be compatible with node < 10
2018-06-06 21:30:53 +02:00
Florent Cailhol
4e15f64402
Add optional catch binding support
2018-06-06 21:30:53 +02:00
Tobias Koppers
79a1defd88
fixes #7492
2018-06-06 16:37:23 +02:00
Tobias Koppers
8e3be48da4
allow to disable wasm import mangle
...
disable it by default (temporary)
2018-06-05 23:49:02 +02:00
Tobias Koppers
7765901cc6
fix test case
2018-06-05 16:50:37 +02:00
Tobias Koppers
ca8edc0d6d
Fix test case for changed error message
2018-06-05 13:41:14 +02:00
Tobias Koppers
1886ee0f3f
improve final loader not string/buffer message
...
add test case
2018-06-05 11:58:10 +02:00
Tobias Koppers
b1a640e005
Merge pull request #7479 from webpack/fix/5153
...
Ensure static and dynamic imports use the same binding
2018-06-05 11:55:34 +02:00
Florent Cailhol
aa6de5723c
Ensure static and dynamic imports use the same binding
2018-06-05 11:06:22 +02:00
Florent Cailhol
348057fa0a
Add a test case to invalidate #5889
2018-06-05 10:31:16 +02:00
Tobias Koppers
9fbe914078
Merge branch 'master' into feature/module-build-error-with-loader-name
...
# Conflicts:
# lib/ModuleBuildError.js
# lib/ModuleError.js
# lib/ModuleWarning.js
2018-06-05 10:23:00 +02:00
Tobias Koppers
19389b7216
Merge pull request #7447 from xtuc/fix-wasm-check-for-invalid-signatures
...
wasm: finalizer for checking exports
2018-06-04 21:11:21 +02:00
Tobias Koppers
78b31936c3
add checkWasmTypes flag, enabled it only in production
2018-06-04 20:14:08 +02:00
Tobias Koppers
c65d1642a4
fix test case
2018-06-04 18:39:52 +02:00
Tobias Koppers
591521b310
support node.js 10 and 8
2018-06-04 18:27:19 +02:00
Tobias Koppers
c77ec391d2
revert afterStartup and trigger prefetch before startup
...
This makes more sense as startup could take a while
and we can use the time to fetch some resources
2018-06-04 18:10:00 +02:00
Tobias Koppers
dc0e1ec480
Merge branch 'master' into prefetch-from-entry
2018-06-04 17:50:08 +02:00
Tobias Koppers
db668b7549
move fake document to ConfigTestCases
...
minor style issues
add test case
2018-06-04 17:49:55 +02:00
Tobias Koppers
5ecf74917f
finish plugin and tests
2018-06-04 16:23:41 +02:00
Tobias Koppers
822c252a09
Merge branch 'master' into fix-wasm-check-for-invalid-signatures
...
# Conflicts:
# declarations.d.ts
# lib/wasm/WebAssemblyParser.js
# package.json
# yarn.lock
2018-06-04 13:33:26 +02:00
Tobias Koppers
fe3ca80267
Merge pull request #7462 from webpack/feature/match-resource
...
Add matchResource feature (for loaders)
2018-06-04 13:09:22 +02:00
Tobias Koppers
2491f5ddf2
Merge pull request #7471 from webpack/fix/7470
...
Add a test case about nodeEnv
2018-06-04 13:08:52 +02:00
Tobias Koppers
9528aa5cbd
fixup test and error
2018-06-04 11:18:32 +02:00
Tobias Koppers
6789a5e144
Merge branch 'master' into feature/webpack-options-compile-errors-warning
2018-06-04 11:18:20 +02:00
Tobias Koppers
53103a9690
Cleanup error location and origin information
2018-06-04 10:35:46 +02:00
Florent Cailhol
0743250281
Add a test case about nodeEnv
2018-06-04 09:49:08 +02:00
Tobias Koppers
1e4b1c7212
create correct init for float types
2018-06-02 17:57:58 +02:00
Tobias Koppers
1e4d2b7fe7
handle reexported wasm globals in JS wrapper code
2018-06-02 17:20:58 +02:00
Sven SAULEAU
9d1a3f75cc
feat: add failing test
2018-06-02 16:38:17 +02:00
Ma Cheng
957ee2a63e
Merge branch 'master' into feature/module-build-error-with-loader-name
2018-06-02 17:19:16 +08:00
Michael Loughry 👨💻
0d21ce197c
Address most of Sokra's comments
...
- [x] Don't emit prefetch code if not needed
- [x] Only affect StatsTestCase dealing with prefetching
- [x] Fix existing prefetch test case
- [ ] Trigger prefetch after startup code runs
- [ ] Add new test(s)
2018-06-01 10:51:39 -07:00
Michael Loughry 👨💻
88d09b0c81
Revert "Update snapshots"
...
This reverts commit 23ab98d8ab
.
2018-06-01 09:35:59 -07:00
Tobias Koppers
530e1fb172
Add matchResource feature (for loaders)
...
Match rules with custom resource name
Also use this name as rule.issuer or splitChunks test
Show nicely in stats
2018-06-01 15:37:17 +02:00
Florent Cailhol
761afebab2
Remove dead test file
2018-06-01 12:49:43 +02:00
Ryan Tsao
0933c0c5fc
Update StatsTestCases snapshots
2018-05-31 16:53:11 -07:00
Ryan Tsao
c0e8b8a752
Merge branch 'master' into crossorigin-attr
2018-05-31 16:47:39 -07:00
Michael Loughry 👨💻
23ab98d8ab
Update snapshots
2018-05-30 15:50:11 -07:00
Michael Loughry 👨💻
e483682637
Revert "Prefetch and preload from entry chunk."
...
This reverts commit eefacf3f2a
.
2018-05-30 10:17:19 -07:00
Michael Loughry 👨💻
8636670169
Revert "Add output.entryPrefetchFunction option, and don't immediately prefetch"
...
This reverts commit b642403d86
.
2018-05-30 10:17:16 -07:00
Sven SAULEAU
76fc11c505
fix: update test msg
2018-05-30 15:53:23 +02:00
Sven SAULEAU
928d051aae
Merge remote-tracking branch 'upstream/master' into fix-wasm-check-for-invalid-signatures
2018-05-30 15:31:31 +02:00
Sven SAULEAU
b34ed237cf
fix: address some comments
2018-05-30 15:27:42 +02:00
Sven SAULEAU
fbd9d0d3a8
feat(wasm): add finalizer for checking exports
2018-05-30 12:45:05 +02:00
Tobias Koppers
e56a4c57d1
Merge pull request #7413 from xtuc/feat-wasm-global-in-global-initilizer2
...
wasm global with global as initializer
2018-05-30 12:39:43 +02:00
Tobias Koppers
6390240e05
rewrite module reference correctly after replacing ConcatenatedModule
...
fixes #7443
2018-05-30 09:51:11 +02:00
Ronan Amsterdam
a228daec58
magic comment regexp match update and statsCase test updated
...
plus minor renamings and snapshot update
2018-05-30 13:18:43 +08:00
Michael Loughry 👨💻
b642403d86
Add output.entryPrefetchFunction option, and don't immediately prefetch
...
Rather than calling the prefetch function on its own during bootstrap, this change exposes the function as a function that can be called from the compiled code.
2018-05-29 16:58:30 -07:00
Michael Loughry 👨💻
eefacf3f2a
Prefetch and preload from entry chunk.
...
Following up on @sokra's work in #7056 , this change addresses #7084 to have webpack prefetch and preload designated chunks from the entry chunk.
2018-05-29 15:51:10 -07:00
Tobias Koppers
04d9c8ab59
Merge branch 'master' into feat-wasm-global-in-global-initilizer2
2018-05-29 21:07:22 +02:00
Tobias Koppers
4f4a2bae33
Merge pull request #7434 from webpack/bump_prettier
...
Update prettier to v1.13
2018-05-29 20:35:51 +02:00
Sven SAULEAU
4ac1f57b8e
Merge remote-tracking branch 'upstream/master' into feat-wasm-global-in-global-initilizer2
2018-05-29 16:37:09 +02:00
Tobias Koppers
d2aca5638c
Merge pull request #7431 from xtuc/fix-wasm-preserve-global-order
...
wasm: preserve global ordering
2018-05-29 16:32:19 +02:00
Florent Cailhol
faf04e005c
Update prettier to v1.13
2018-05-29 16:14:16 +02:00
Tobias Koppers
c01cb97609
Merge commit 'ba703401d580ad623af17fe96ed98b4d801e0313'
...
# Conflicts:
# test/__snapshots__/StatsTestCases.test.js.snap
2018-05-29 15:37:58 +02:00
Tobias Koppers
1e09650e60
Merge pull request #7411 from aleen42/master
...
fix: unsupported function defined inside a condition block. #7263
2018-05-29 15:33:45 +02:00
Tobias Koppers
b756012d34
Merge pull request #7430 from webpack/bugfix/side-effects-reasons
...
fixup reasons when redirecting dependencies for side-effects
2018-05-29 15:32:25 +02:00
Sven SAULEAU
23795ba666
fix(wasm): preserve global ordering
2018-05-29 14:52:29 +02:00
Sven SAULEAU
d6e9624c4a
Merge branch 'master' into feat-wasm-global-in-global-initilizer2
2018-05-29 14:24:26 +02:00
Tobias Koppers
351c9936e6
fixup reasons when redirecting dependencies for side-effects
...
show reason explanation in stats
fixes #7428
2018-05-29 14:12:31 +02:00
Tobias Koppers
bfdb769e08
Merge pull request #7427 from ronanamsterdam/feature/test-readme-update
...
Issue #7424 : test/README update with jest snapshot flow
2018-05-29 13:52:11 +02:00
Florent Cailhol
25ec7e4102
Do not stop processing on error
2018-05-29 13:17:36 +02:00
Ronan Amsterdam
570571397a
Issue #7424 : test/README update with jest snapshot flow
2018-05-29 18:54:12 +08:00
Tobias Koppers
504148c79b
add test cases for #7401
2018-05-29 12:40:32 +02:00
Ronan Amsterdam
1969485f05
warning class and propagation added to ImportParserPlugin
...
and invalid-import tests moved to the statsCases
2018-05-29 15:29:23 +08:00
aleen42
24072ab652
chore: fix snap for #7263
2018-05-29 14:54:24 +08:00
Tobias Koppers
023d4ca945
add more test cases
2018-05-29 00:45:39 +02:00
Tobias Koppers
e367b938f4
add test cases for unused exports
2018-05-28 23:59:57 +02:00
Tobias Koppers
909a2ac8d0
fix small bug in wasm runtime
2018-05-28 23:35:29 +02:00
Tobias Koppers
770847171d
Merge branch 'master' into bugfix/namespace-object
...
# Conflicts:
# lib/RuntimeTemplate.js
2018-05-28 22:42:21 +02:00
Tobias Koppers
1f2584e65f
Merge pull request #7408 from webpack/bugfix/side-effects-caching
...
SideEffectsPlugin don't modify cache entries
2018-05-28 22:34:04 +02:00
Tobias Koppers
29cbf9863a
Merge pull request #7275 from webpack/feature/wasm-mangling
...
WASM: Tree Shaking, Export and import name mangling
2018-05-28 22:32:01 +02:00
Sven SAULEAU
16b7022b2e
chore: update test
2018-05-28 16:55:44 +02:00
Sven SAULEAU
fd4e84b36f
fix(wasm): correct initializer type for rewritten globals
2018-05-28 14:55:40 +02:00
Sven SAULEAU
974381a3ac
cherry-picked acc45fd806
2018-05-28 11:25:59 +02:00
Sven SAULEAU
8f269150dc
feat: switch to wast test
2018-05-28 11:20:11 +02:00
Sven SAULEAU
0e58d54f5d
feat: add failing test
2018-05-28 11:20:03 +02:00
Tobias Koppers
ae8d6741d7
fix bug with incorrectly emitted modules
2018-05-27 21:53:22 +02:00
Tobias Koppers
115a72ce50
SideEffectsPlugin don't modify cache entries
...
fixes #7400
2018-05-27 21:53:21 +02:00
Ronan Amsterdam
49bd54313d
Issue #7395 : webpack import options comments warning propagation
2018-05-27 11:32:00 +08:00
Tobias Koppers
ae6c7a4990
Merge pull request #7279 from cokencode/progress-plugin-bug-fix
...
Fix a bug where ProgressPlugin is not working properly with MultiComp…
2018-05-26 15:00:01 +02:00
Tobias Koppers
4cd0cf5b5c
Merge pull request #7379 from xtuc/refactor-use-wast-in-tests
...
switch to tests to wast
2018-05-25 22:41:30 +02:00
Florent Cailhol
55ce14387e
Add test case
2018-05-25 17:33:34 +02:00
evilebottnawi
c222a6f33b
feat: implement option for `HashedModuleIdes` plugin
2018-05-25 16:41:20 +03:00
Tobias Koppers
70c608cb21
Merge pull request #7387 from webpack/bugfix/record-string-ids
...
only record number ids
2018-05-25 11:59:48 +02:00
Tobias Koppers
d46e35e3af
Merge branch 'master' into feature/wasm-mangling
...
# Conflicts:
# yarn.lock
2018-05-25 11:07:59 +02:00
Tobias Koppers
69567a1db2
update test case to reflect change
2018-05-25 10:56:04 +02:00
Tobias Koppers
8af0320c3e
Merge pull request #7344 from asapach/master
...
feat: support tree shaking in DllPlugin
2018-05-25 10:48:08 +02:00
Tobias Koppers
374376d6dc
fixes #7382
2018-05-24 15:37:52 +02:00
Sven SAULEAU
00eafa6d3b
Update mem-access.wat
2018-05-24 14:16:20 +02:00
Sven SAULEAU
acc45fd806
refactor: switch to wast
2018-05-24 14:12:11 +02:00
Sven SAULEAU
7184bb4ac1
fix: keep decoding in wasm
2018-05-24 13:50:12 +02:00
Tobias Koppers
4a541303c9
Upgrade jest
...
increase timeout
fix hanging
avoid inspector in CI
setup jest caching
2018-05-24 12:52:48 +02:00
Sven SAULEAU
a9d9feeba7
refactor: switch to tests to wast
2018-05-23 18:13:25 +02:00
Tobias Koppers
8b19f20b40
Merge pull request #7365 from jdelStrother/stable-records
...
Sort the usedIds array in records
2018-05-22 17:43:10 +02:00
Tobias Koppers
19015b698c
fix problems with circular unneeded chunks
...
fixes #7363
fixes #7239
fixes #6587
2018-05-22 15:30:32 +02:00
Tobias Koppers
6692275704
Only put entries into the manifest
2018-05-22 13:24:40 +02:00
Jonathan del Strother
f8455657c5
Sort the usedIds array in records
...
This prevents unnecessary churn when version-controlling your records
2018-05-21 15:45:28 +01:00
Sven SAULEAU
ffeca24412
feat(wasm): pass arg in test
2018-05-21 14:43:55 +02:00
Jonathan del Strother
6bf9479af2
Don't record absolute paths for regexps used in dynamic requires
...
This avoids records like:
"src/dependencies sync ../../../../^/.//.*$": "./src/dependencies sync recursive ^\\.\\/.*$"
with the number of "../"s varying according to the depth of the folder you're building from.
Fixes #7339
2018-05-21 09:49:35 +01:00
Jonathan del Strother
8a6db447a8
Use snapshots for records tests
2018-05-21 09:40:09 +01:00
Aliaksei Sapach
6c0c52558c
feat: support tree shaking in DllPlugin
...
This change introduces a new `entryOnly` flag to the DllPlugin options which limits the exposed modules to only those configured as entry points. This allows module concatenation and dead code removal optimizations to take place.
2018-05-18 22:57:29 +03:00
William Lohan
b42646908d
fix: json with byte order mark
...
fixes issue #7330
2018-05-18 08:39:25 -07:00
Ryan Tsao
9f5a5e7293
Remove old fixture
2018-05-17 21:11:15 -07:00
Ryan Tsao
309250a8d0
Fix stats snapshot
2018-05-17 21:08:50 -07:00
Ryan Tsao
009fe74f22
Merge branch 'master' into crossorigin-attr
2018-05-17 21:03:28 -07:00
Tobias Koppers
75db965170
update combination when split fails because of max requests
...
fixes #7323
2018-05-17 17:44:38 +02:00
Tobias Koppers
63a4145e3f
clear output directory on test start
2018-05-17 17:42:00 +02:00
Tobias Koppers
8e05ae25dc
Merge branch 'master' into feature/wasm-mangling
...
# Conflicts:
# package.json
# yarn.lock
2018-05-17 10:50:17 +02:00
Tobias Koppers
cbbe6f8cd0
add all examples from the WebAssembly explorer as tests
2018-05-17 10:20:28 +02:00
Florent Cailhol
0d89a45403
Add a test to check typeof transformation
2018-05-16 13:04:43 +02:00
Philipp Klein
d6efad856b
Allow serve property in webpack configuration
...
The server property is used to configure webpack-serve
(https://github.com/webpack-contrib/webpack-serve ).
Also adapt tests.
Fixes #7306
2018-05-15 16:12:54 +02:00
Jaehwan Moon
9c0036ba50
Add a test
2018-05-15 07:19:53 -04:00
Tobias Koppers
9560af5545
Merge pull request #7303 from odedniv/module-not-found
...
Align 'Cannot find module' message with native NodeJS
2018-05-15 08:57:11 +02:00
Oded Niv
17fd4d8b48
Align 'Cannot find module' message with native NodeJS
2018-05-15 09:24:16 +03:00
Tobias Koppers
687c03869f
Merge pull request #7270 from webpack/feature/banner_function
...
Allow banner to be specified as a function
2018-05-14 20:14:59 +02:00
Tobias Koppers
d5a648b28a
Merge pull request #7184 from byzyk/fix/allow-array-in-lib-root
...
fix: allow array of strings for `output.library.root`
2018-05-12 07:36:52 +02:00
Tobias Koppers
e312d62365
Merge pull request #7241 from lencioni/test-docs
...
Update test readme for Jest
2018-05-11 21:12:42 +02:00
Tobias Koppers
cb3a0ed08c
enforce direct import when types are incompatible with JS types
2018-05-11 20:59:20 +02:00
Tobias Koppers
fb29d633db
Mangle import names and module requests
2018-05-11 20:57:19 +02:00
Florent Cailhol
8488b882a4
Allow banner to be specified as a function
2018-05-10 18:19:32 +02:00
Florent Cailhol
9b37c6bf2c
Replace Jade by Pug
2018-05-10 09:13:17 +02:00
Joe Lencioni
a31721a1da
Update test readme for Jest
...
This documentation still referenced Mocha, but tests were converted to
Jest.
2018-05-09 09:41:48 -07:00
Tobias Koppers
d4a04b8934
Merge branch 'master' into bugfix/namespace-object
...
# Conflicts:
# test/__snapshots__/StatsTestCases.test.js.snap
2018-05-09 10:27:23 +02:00
Tobias Koppers
236bbcfeee
Merge pull request #7243 from webpack/fix/7213
...
Fix edge case when parsing top-level this on IIFE
2018-05-09 09:50:14 +02:00
Florent Cailhol
6866c94dbf
Delete unused mocha config files
2018-05-08 20:45:05 +02:00
Florent Cailhol
da6f869c1e
Fix edge case when parsing top-level this on IIFE
2018-05-08 19:31:01 +02:00
Florent Cailhol
f63d6fa4bb
Replace sinon by jest's mocks
2018-05-07 15:26:09 +02:00
Tobias Koppers
09eb3c9de7
fix bug where splitChunks doesn't work
2018-05-07 12:39:03 +02:00
Tobias Koppers
00b0364c8f
Merge pull request #7144 from webpack/next
...
Upgrade to the WASM toolchain
2018-05-07 12:15:48 +02:00
Tobias Koppers
f2910fc2a9
Merge pull request #7173 from webpack/wasm/decoding
...
add test cases for decoding wasm
2018-05-07 11:39:59 +02:00
Sven SAULEAU
ce42d600fd
fix(wasm): illegal table access msg in test
2018-05-07 07:39:21 +02:00
Tobias Koppers
839e80aa49
fix wasm table test case
2018-05-05 14:57:50 +02:00
Sven SAULEAU
869a9fc7cc
chore: comment out test
2018-05-04 16:40:05 +02:00
Sven SAULEAU
ef5a291472
fix: correct some test assertions
2018-05-04 16:30:55 +02:00
byzyk
71b05f9f83
move test to separate folder
2018-05-04 16:00:18 +04:00
byzyk
a3d3af88a5
add test
2018-05-04 15:32:49 +04:00
Tobias Koppers
0a6ba9552e
avoid injection jsonpScriptSrc function when not needed
...
fixes #7185
2018-05-04 12:47:27 +02:00
Tobias Koppers
9bc9c75f9d
Merge branch 'master' into next
...
# Conflicts:
# test/__snapshots__/StatsTestCases.test.js.snap
2018-05-04 12:02:30 +02:00
Tobias Koppers
a926a19715
create better namespace objects
...
avoid using Object.assign (fixes #7162 )
2018-05-03 12:55:00 +02:00
Tobias Koppers
ff950e732b
Use hex encoding instead
2018-05-02 18:11:48 +02:00
Tobias Koppers
214801493e
improve NormalModule performance
...
cache source and meta hash
2018-05-02 14:20:30 +02:00
Tobias Koppers
edddefbea0
add test cases for decoding wasm
2018-05-02 11:30:55 +02:00
Tobias Koppers
4769dc6a51
add support for test.filter.js in watchCases
2018-05-02 09:31:22 +02:00
Tobias Koppers
508450a497
add test case to verify that webpack/webpack-dev-server#1376 is fixed
2018-05-02 09:25:11 +02:00
Tobias Koppers
5c8a0d23ba
Merge branch 'master' into next
...
# Conflicts:
# test/statsCases/aggressive-splitting-entry/expected.txt
# test/statsCases/aggressive-splitting-on-demand/expected.txt
# test/statsCases/chunk-module-id-range/expected.txt
# test/statsCases/chunks-development/expected.txt
# test/statsCases/chunks/expected.txt
# test/statsCases/color-disabled/expected.txt
# test/statsCases/color-enabled-custom/expected.txt
# test/statsCases/color-enabled/expected.txt
# test/statsCases/commons-chunk-min-size-0/expected.txt
# test/statsCases/commons-chunk-min-size-Infinity/expected.txt
# test/statsCases/commons-plugin-issue-4980/expected.txt
# test/statsCases/define-plugin/expected.txt
# test/statsCases/exclude-with-loader/expected.txt
# test/statsCases/external/expected.txt
# test/statsCases/filter-warnings/expected.txt
# test/statsCases/import-context-filter/expected.txt
# test/statsCases/import-weak/expected.txt
# test/statsCases/limit-chunk-count-plugin/expected.txt
# test/statsCases/max-modules-default/expected.txt
# test/statsCases/max-modules/expected.txt
# test/statsCases/module-assets/expected.txt
# test/statsCases/named-chunks-plugin-async/expected.txt
# test/statsCases/named-chunks-plugin/expected.txt
# test/statsCases/no-emit-on-errors-plugin-with-child-error/expected.txt
# test/statsCases/optimize-chunks/expected.txt
# test/statsCases/performance-different-mode-and-target/expected.txt
# test/statsCases/preset-detailed/expected.txt
# test/statsCases/preset-normal/expected.txt
# test/statsCases/preset-verbose/expected.txt
# test/statsCases/resolve-plugin-context/expected.txt
# test/statsCases/reverse-sort-modules/expected.txt
# test/statsCases/scope-hoisting-bailouts/expected.txt
# test/statsCases/scope-hoisting-multi/expected.txt
# test/statsCases/simple-more-info/expected.txt
# test/statsCases/simple/expected.txt
# test/statsCases/tree-shaking/expected.txt
# test/statsCases/warnings-uglifyjs/expected.txt
2018-05-01 16:49:08 +02:00
mc-zone
1159935fe8
change tests to Jest
2018-05-01 22:44:37 +08:00
Tobias Koppers
7543c45664
Merge pull request #7168 from webpack/test/jest-improvements
...
Test/jest improvements
2018-05-01 16:43:03 +02:00
Tobias Koppers
afd889a735
fix merge error of PRs
...
These tests doesn't run on CI
2018-05-01 16:28:51 +02:00
Tobias Koppers
2d279fcfbe
Use jest snapshot testing
2018-05-01 16:09:50 +02:00
Tobias Koppers
21e1e6f8d5
Improve WatchTestCases
2018-05-01 16:09:44 +02:00
Ma Cheng
3e66954ec1
Merge branch 'master' into feature/module-build-error-with-loader-name
2018-05-01 21:34:27 +08:00
Max Burmagin
87dd7a2ed4
cr fixes
2018-05-01 14:26:12 +03:00
Tobias Koppers
52d5eb7790
Merge branch 'master' into next
...
# Conflicts:
# yarn.lock
2018-05-01 11:33:05 +02:00
Max Burmagin
d250eacac1
fix test to use jest
2018-05-01 01:42:18 +03:00
Max Burmagin
adf43eba9b
Merge branch 'master' into handle-module-name-conflicts
2018-05-01 01:29:34 +03:00
MhMadHamster
bd80cac527
specify name of the bundle
2018-05-01 00:28:58 +03:00
MhMadHamster
399b5f4769
cr fixes
2018-04-30 22:45:55 +03:00
MhMadHamster
0e3795bf77
add a test case
2018-04-30 20:42:14 +03:00
Tobias Koppers
9958930092
Merge branch 'master' into jest
...
# Conflicts:
# test/WatchTestCases.test.js
2018-04-30 17:45:33 +02:00
Tobias Koppers
7b81a06b83
Merge pull request #7147 from kpdecker/concat-cache
...
Invalidate concatenated module on dep change
2018-04-30 17:40:09 +02:00
Tobias Koppers
908b4654bf
remove spammy output in CI
2018-04-30 17:26:37 +02:00
Tobias Koppers
4229a95ce1
Merge branch 'master' into jest
2018-04-30 17:17:04 +02:00
Tobias Koppers
81c6041a89
Merge pull request #7102 from alejandroMA/bugfix/runtime-chunk-integration
...
fix bug where sometimes the runtime would not be present on output
2018-04-30 13:52:50 +02:00
Tobias Koppers
345c501a95
add test case for #6793
2018-04-30 13:31:26 +02:00
Tobias Koppers
50d986283e
Merge branch 'master' into define-functions
...
# Conflicts:
# lib/DefinePlugin.js
# test/statsCases/define-plugin/expected.txt
2018-04-30 11:33:08 +02:00
Tobias Koppers
98ffc28e55
fix timestamp issue in WatchTestCases
2018-04-30 11:31:04 +02:00
Ron Korving
cc3fa59645
[DefinePlugin] Add ability to use function return values
...
This adds the following API to DefinePlugin:
new webpack.DefinePlugin({
BUILT_AT: webpack.DefinePlugin.runtimeValue(() => Date.now(), [fileDep, ...])
})
2018-04-30 11:30:13 +02:00
Tobias Koppers
664627272f
add test case for #6168
2018-04-30 11:09:37 +02:00
Tobias Koppers
7bf5bac2dc
fix timestamp issue in WatchTestCases
2018-04-30 11:09:34 +02:00
Tobias Koppers
84b0bd5383
only run test case in envs where WebAssembly is supported
2018-04-29 20:58:45 +02:00
mc-zone
8060ec6a24
Merge branch 'master' into feature/module-build-error-with-loader-name
2018-04-29 16:57:05 +08:00
mc-zone
92a28df10a
add done()
2018-04-29 11:59:50 +08:00
Tobias Koppers
6d7f2c33d2
updated stats tests
2018-04-28 11:22:05 +02:00
Tobias Koppers
054ba39898
make wasm to wasm Table and Memory exports possible
2018-04-28 11:09:13 +02:00
Tobias Koppers
7fc9ec90f2
update stats tests
2018-04-28 08:53:23 +02:00
Tobias Koppers
f876564b84
Merge branch 'master' into feat-rewrite-wasm
...
# Conflicts:
# test/statsCases/aggressive-splitting-entry/expected.txt
# test/statsCases/aggressive-splitting-on-demand/expected.txt
# test/statsCases/chunks-development/expected.txt
# test/statsCases/chunks/expected.txt
# test/statsCases/import-context-filter/expected.txt
# test/statsCases/import-weak/expected.txt
# test/statsCases/limit-chunk-count-plugin/expected.txt
# test/statsCases/module-assets/expected.txt
# test/statsCases/named-chunks-plugin-async/expected.txt
# test/statsCases/optimize-chunks/expected.txt
# test/statsCases/preset-detailed/expected.txt
# test/statsCases/preset-normal/expected.txt
# test/statsCases/preset-verbose/expected.txt
# test/statsCases/scope-hoisting-bailouts/expected.txt
# test/statsCases/scope-hoisting-multi/expected.txt
# yarn.lock
2018-04-27 15:39:12 +02:00
Bazyli Brzóska
f3fc2e63c3
increase test timeout in Examples.test
2018-04-27 12:01:45 +02:00