From 83021d43357cb66e778421e91db0a437518a910b Mon Sep 17 00:00:00 2001 From: ZauberNerd Date: Mon, 26 Mar 2018 11:43:34 +0200 Subject: [PATCH] fix(build-config): use [name]-[chunkhash] as chunk names [id] seems to be the same as [name] and before this change the tests would fail because "vendor-vendor-a3feb.js" does not match /vendor-[0-9a-f]+/ --- packages/build-config/configs/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/build-config/configs/build.js b/packages/build-config/configs/build.js index b7fdea77d..6b4009844 100644 --- a/packages/build-config/configs/build.js +++ b/packages/build-config/configs/build.js @@ -20,7 +20,7 @@ module.exports = { publicPath: '/', pathinfo: true, filename: getAssetPath('[name]-[chunkhash:16].js'), - chunkFilename: getAssetPath('[name]-[id]-[chunkhash:16].js'), + chunkFilename: getAssetPath('[name]-[chunkhash:16].js'), devtoolModuleFilenameTemplate: function(info) { return path .relative(hopsConfig.appDir, info.absoluteResourcePath)