Skip to content

Commit cec2405

Browse files
committed
Update Webpack to 5.0.0-beta and webpack-manifest-plugin to 3.0.0-rc
1 parent ae6c1da commit cec2405

File tree

3 files changed

+78
-231
lines changed

3 files changed

+78
-231
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@
4848
"style-loader": "^0.21.0",
4949
"terser-webpack-plugin": "^2.1.2",
5050
"tmp": "^0.0.33",
51-
"webpack": "^5.0.0-alpha.29",
51+
"webpack": "^5.0.0-beta",
5252
"webpack-cli": "^3.3.9",
5353
"webpack-dev-server": "^3.1.14",
54-
"webpack-manifest-plugin": "^2.2.0",
54+
"webpack-manifest-plugin": "^3.0.0-rc",
5555
"webpack-sources": "^1.3.0",
5656
"yargs-parser": "^12.0.0"
5757
},

test/functional.js

+14-14
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,11 @@ describe('Functional tests using webpack', function() {
419419
if (!process.env.DISABLE_UNSTABLE_CHECKS) {
420420
expect(config.outputPath).to.be.a.directory()
421421
.with.files([
422-
'main.59d552df.js',
422+
'main.372683b0.js',
423423
'styles.d8f0e981.css',
424424
'manifest.json',
425425
'entrypoints.json',
426-
'runtime.8dc52f01.js',
426+
'runtime.72c43622.js',
427427
]);
428428
}
429429

@@ -522,14 +522,14 @@ describe('Functional tests using webpack', function() {
522522
if (!process.env.DISABLE_UNSTABLE_CHECKS) {
523523
expect(config.outputPath).to.be.a.directory()
524524
.with.files([
525-
'js_no_require_js-css_h1_style_css.8ece031f.js', // chunks are also versioned
525+
'js_no_require_js-css_h1_style_css.23b26796.js', // chunks are also versioned
526526
'js_no_require_js-css_h1_style_css.d8f0e981.css',
527-
'main.b5c70a37.js',
527+
'main.fc97662b.js',
528528
'h1.d8f0e981.css',
529529
'bg.569bdfd4.css',
530530
'manifest.json',
531531
'entrypoints.json',
532-
'runtime.57b0e887.js',
532+
'runtime.520e9360.js',
533533
]);
534534
}
535535

@@ -1980,16 +1980,16 @@ module.exports = {
19801980
expect(config.outputPath).to.be.a.directory()
19811981
.with.files([
19821982
'entrypoints.json',
1983-
'runtime.9a30d6af.js',
1984-
'main.0b094c00.js',
1983+
'runtime.a0fad6a0.js',
1984+
'main.51fa674b.js',
19851985
'manifest.json',
19861986
'symfony_logo.ea1ca6f7.png',
19871987
'symfony_logo_alt.f27119c2.png',
19881988
]);
19891989

19901990
webpackAssert.assertManifestPath(
19911991
'build/main.js',
1992-
'/build/main.0b094c00.js'
1992+
'/build/main.51fa674b.js'
19931993
);
19941994
}
19951995

@@ -2584,11 +2584,11 @@ module.exports = {
25842584
testSetup.runWebpack(config, () => {
25852585
const integrityData = getIntegrityData(config);
25862586
const expectedHashes = {
2587-
'/build/runtime.js': 'sha384-KjFSS2dvu+r4lqjFHJIBp00twvOpbcxAjhhQkxWi0+wHAZSX8spH5bPXC3X1Youe',
2587+
'/build/runtime.js': 'sha384-GE3I+w7y71viuyyd1QDfNdmDsMVQet2ozZLzJ5fKgiITTCLnj7HpABGjNheMDJCC',
25882588
'/build/main.js': 'sha384-JQLIXdFRwxrTJm26NtiGV/FW9xzvq1PzeVDHuyGoYSVQEjlzqD68joo4dSZyZjtr',
25892589
'/build/css_roboto_font_css.js': 'sha384-C1E1NnFn1wuZNY7BoEsxbwGzss4TAyoCfbygQ/0HbDLEz+I0aYdVsu2ZJUdOY5cd',
25902590
'/build/css_roboto_font_css.css': 'sha384-hfZmq9+2oI5Cst4/F4YyS2tJAAYdGz7vqSMP8cJoa8bVOr2kxNRLxSw6P8UZjwUn',
2591-
'/build/other.js': 'sha384-QIJK03XNaHr7x8/4eo0K2MKhiz+StNjFyEFaVImkuPWfyZySHgVYFnsHDf3B+Dk5',
2591+
'/build/other.js': 'sha384-Xkv32DMZuwtWJCSKFf7nxUcbpqIEUGTEP4gkhzsCcZs1T3vAb3AsOwrfIzM2A8Gj',
25922592

25932593
// /build/vendors-node_modules_vue_dist_vue_runtime_esm_js.js's hash is not
25942594
// tested since its content seems to change based on the build environment.
@@ -2617,11 +2617,11 @@ module.exports = {
26172617
testSetup.runWebpack(config, () => {
26182618
const integrityData = getIntegrityData(config);
26192619
const expectedHashes = {
2620-
'http://localhost:8090/assets/runtime.js': 'sha256-Vg4lOvOByF7Sl1qCVrkqKDkv8sKE71amMu68ma2zk2w=',
2620+
'http://localhost:8090/assets/runtime.js': 'sha256-Eh8uZEZg90c3ZVCLcYK5/lwJ+YNfEEdDdCd4+44uFzE=',
26212621
'http://localhost:8090/assets/main.js': 'sha256-hPCRkZw4Z7B/LYgH6u4srjr+Gvbn7KKfvLv5VqdRQi4=',
26222622
'http://localhost:8090/assets/css_roboto_font_css.js': 'sha256-pRa4DiGFqKAIEO8XIlrpF9p0vr+2OKOWrlRYjlCyh4g=',
26232623
'http://localhost:8090/assets/css_roboto_font_css.css': 'sha256-KVo9sI0v6MnbxPg/xZMSn2XE7qIChWiDh1uED1tP5Fo=',
2624-
'http://localhost:8090/assets/other.js': 'sha256-acZSFCppVtbM07w/BMuf3nxJLsm6CVwcwqpuwFWT4u4=',
2624+
'http://localhost:8090/assets/other.js': 'sha256-BtVDcMZfNt+51j6IcSV4QNoGOcaYXfG0lLslWfxCYOo=',
26252625

26262626
// /build/vendors-node_modules_vue_dist_vue_runtime_esm_js.js's hash is not
26272627
// tested since its content seems to change based on the build environment.
@@ -2649,11 +2649,11 @@ module.exports = {
26492649
testSetup.runWebpack(config, () => {
26502650
const integrityData = getIntegrityData(config);
26512651
const expectedHashes = {
2652-
'/build/runtime.js': 'sha256-Vg4lOvOByF7Sl1qCVrkqKDkv8sKE71amMu68ma2zk2w= sha512-nad7e9R958ZaPiSYMWdlNgC3/MJ90/xznt5H6BzEg2jPxCWgqbJcKj3+qIj4vn+5IBZiiH09KzjwDQ/SZBsbQA==',
2652+
'/build/runtime.js': 'sha256-Eh8uZEZg90c3ZVCLcYK5/lwJ+YNfEEdDdCd4+44uFzE= sha512-wB0fCDvUAAq6ciDQs493wWG4us/YJnMoqsN27TFxi+7o5IkDyBnPcChddsP9c/DNgu+nFwGof/UsODSoBKSU9A==',
26532653
'/build/main.js': 'sha256-hPCRkZw4Z7B/LYgH6u4srjr+Gvbn7KKfvLv5VqdRQi4= sha512-WfSpazoaWJ8Hz+ub+lo47iR267tF5lEttHfpen8fwF1PJ0xSVAUGM4ow2GhdJlr4/nGMSkquRpuOV61J/P++XA==',
26542654
'/build/css_roboto_font_css.js': 'sha256-pRa4DiGFqKAIEO8XIlrpF9p0vr+2OKOWrlRYjlCyh4g= sha512-9foiWpZ0CfkHMhEkgQbCrkITlk4tmzUWmHLCbMz68+GekxV0CNx5syi/w+JhK4NN3P8A1Yvx9/NTD/J3aq1VkQ==',
26552655
'/build/css_roboto_font_css.css': 'sha256-6AltZJTjdVuLywCBE8qQevkscxazmWyh/19OL6cxkwY= sha512-zE1kAcqJ/jNnycEwELK7BfauEgRlK6cGrN+9urz4JI1K+s5BpglYFF9G0VOiSA7Kj3w46XX1WcjZ5w5QohBFEw==',
2656-
'/build/other.js': 'sha256-acZSFCppVtbM07w/BMuf3nxJLsm6CVwcwqpuwFWT4u4= sha512-sRe54tEfDJyeL9aHwZkDgPAWtLcg+aSPqs9zBeFTbIkpsk9KwuaiLqC5VnRDuwAcsaM0RLkLs3GiuxIa5ZYDPg==',
2656+
'/build/other.js': 'sha256-BtVDcMZfNt+51j6IcSV4QNoGOcaYXfG0lLslWfxCYOo= sha512-H60t4ZdzBlwLG2dayxrWQkqph/6uYujlfxtZsrknXHnzWcrJknSa/t1NO3zmAViSXIGr2naBpP2c8srJ7YInqA==',
26572657

26582658
// /build/vendors-node_modules_vue_dist_vue_runtime_esm_js.js's hash is not
26592659
// tested since its content seems to change based on the build environment.

0 commit comments

Comments
 (0)