Commit Graph

7762 Commits

Author SHA1 Message Date
Tobias Koppers ad3556b72d webassemblyModuleFilename can't use filename
we don't have this information at runtime and would need it to load the file
2018-11-01 20:23:10 +01:00
Tobias Koppers b590e4ba8e refactor placeholders a bit
add deprecation message to old placeholders
group them by context
2018-11-01 20:23:10 +01:00
Tobias Koppers b4b5223469 refactor method to use a replacements map 2018-11-01 20:23:09 +01:00
Tobias Koppers 197e98a845 filename is always a string 2018-11-01 20:23:09 +01:00
Michael Ciniawsky 8d741fbb0e refactor(BannerPlugin): unify `filename` handling
BREAKING CHANGE: removes `basename` && `query` params (`options.banner`)
2018-11-01 20:23:09 +01:00
Michael Ciniawsky 56c49bdc9d refactor(TemplatedPathPlugin): split placeholder context (`chunk|module`) 2018-11-01 20:23:09 +01:00
Tobias Koppers 96f9722173
Merge pull request #8273 from webpack/feature/resolve-cache
add safe (persistent) resolver cache
2018-10-31 20:40:33 +01:00
Tobias Koppers 02ba24aca8 add a `cache` option to control the resolve cache 2018-10-31 13:55:28 +01:00
Tobias Koppers 3b35fd478c use module.unsafeCache only for node_modules
remove unsafe resolve cache remainings
2018-10-31 13:17:32 +01:00
Tobias Koppers 4ed5622b53 add direct memory cache 2018-10-31 13:07:07 +01:00
Tobias Koppers 2688b5b17f add resolver cache 2018-10-30 15:43:26 +01:00
Tobias Koppers 9964a8283f fix resolver cache 2018-10-30 15:43:24 +01:00
Tobias Koppers f60c9a7070
Merge pull request #8272 from webpack/feature/cache-pack
add pack store mode for filesystem cache
2018-10-30 15:36:32 +01:00
Tobias Koppers 044ad3725b test memory cache too 2018-10-30 14:29:22 +01:00
Tobias Koppers ca69e9423d fix/workaround memory leaks 2018-10-30 13:46:50 +01:00
Tobias Koppers 9e3cecc21e resolve promise even if caching failed 2018-10-30 09:54:53 +01:00
Tobias Koppers 3c8bb29834 use lazy serialization when etag is passed 2018-10-30 09:54:51 +01:00
Tobias Koppers 0cc84d8227 default to packed mode 2018-10-30 09:54:49 +01:00
Tobias Koppers b1073349eb reorder maps to make binary encoding more efficient 2018-10-30 09:54:47 +01:00
Tobias Koppers a594f9884c add another loglevel to the persistent cache 2018-10-30 09:54:45 +01:00
Tobias Koppers 2bf48ca934 Split caching tests into separate suites 2018-10-30 09:54:43 +01:00
Tobias Koppers 590772b934 add packed store mode 2018-10-30 09:54:40 +01:00
Tobias Koppers c0d53878e4
Merge pull request #8168 from webpack/feature/serialization/errors
feat(serialization): serialize errors
2018-10-29 23:23:55 +01:00
Tobias Koppers ad308f9d5a increase timeout for StatsTestCases 2018-10-29 22:57:34 +01:00
Tobias Koppers 4174521f9d remove unnecessary module arguments from module attached errors 2018-10-29 22:18:08 +01:00
Tobias Koppers e9db83c6c7 add serializer for acorn Position 2018-10-29 22:16:40 +01:00
Tobias Koppers 601824ea1e be less strict in test case
issuer can vary
2018-10-29 21:24:36 +01:00
Tobias Koppers 8ddcfb59e5 exclude watch test cases 2018-10-25 10:56:31 +02:00
Tobias Koppers bfb1e8694f fix test output message 2018-10-25 10:52:34 +02:00
Tobias Koppers c46d89b02d serialize JS Errors 2018-10-25 10:52:33 +02:00
Michael Ciniawsky f7df43d080 feat(ErrorObjectSerializer): make `{Error}` serializable 2018-10-25 10:52:32 +02:00
Tobias Koppers c27b46ac8b fix duplicate errors and warnings 2018-10-25 10:52:31 +02:00
Tobias Koppers 6a8e201521 fixup WebpackErrors 2018-10-25 10:52:28 +02:00
Michael Ciniawsky 62d4ede848 make WebpackErrors serializable 2018-10-25 10:48:39 +02:00
Tobias Koppers 440be0c53c Merge tag 'v4.23.1' into next
4.23.1
2018-10-25 10:34:31 +02:00
Tobias Koppers 607cf70edd 4.23.1 2018-10-25 10:25:57 +02:00
Tobias Koppers 5e5e7b7882
Merge pull request #8270 from ljqx/logical-expression-fix
[ConstPlugin] fix bug introduced by evaluation of && and ||
2018-10-25 10:21:10 +02:00
Zhibin Liu 13d1dabd93 [ConstPlugin] fix bug introduced by evaluation of && and || 2018-10-25 10:43:26 +08:00
Tobias Koppers 69cfc6ff57 fix incorrect merge
Chunk.hasEntryModule is deprecated
2018-10-24 20:30:39 +02:00
Tobias Koppers d9a0d3a139 Merge tag 'v4.23.0' into next
4.23.0
2018-10-24 20:10:30 +02:00
Tobias Koppers a4feb6e15f 4.23.0 2018-10-24 17:45:19 +02:00
Tobias Koppers 298fa4c981
Merge pull request #8266 from ljqx/wasm-finalize-exports-fix
[WasmFinalizeExportsPlugin] check if `ref` is null before using it
2018-10-24 17:41:54 +02:00
Zhibin Liu 035ceb6b1b force travis rerun 2018-10-24 22:55:18 +08:00
Tobias Koppers 735b4aa56f
Merge pull request #8182 from xtuc/ci-node-nightly
Node 12 in CI
2018-10-24 16:32:19 +02:00
Zhibin Liu 6844c7526f add test 2018-10-24 22:30:37 +08:00
Tobias Koppers 8256249703 longer timeouts for Compiler test 2018-10-24 15:56:50 +02:00
Tobias Koppers f7ff9139f0 use latest node 12 nightly 2018-10-24 15:45:13 +02:00
Tobias Koppers 1c44f95b8c fix bug where module is referenced which is not in the graph 2018-10-24 15:45:10 +02:00
Tobias Koppers 98d077d0b6 order values with different types correctly 2018-10-24 15:45:08 +02:00
Tobias Koppers f5e45bec2e also export WebAssembly.Global when reexporting globals
This is not the final behavior and this code is probably removed soon,
but it mirrors the existing behavior for node.js >= 11 and CI will pass
2018-10-24 15:45:06 +02:00