cli/webpack: replace depreacted hash with fullhash

Signed-off-by: Johan Haals <johan.haals@gmail.com>
This commit is contained in:
Johan Haals
2021-08-13 11:05:59 +02:00
parent a976f5d3e8
commit fe506a0cf8
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Remove webpack deprecation message when running build.
+1 -1
View File
@@ -209,7 +209,7 @@ export async function createConfig(
output: {
path: paths.targetDist,
publicPath: validBaseUrl.pathname,
filename: isDev ? '[name].js' : 'static/[name].[hash:8].js',
filename: isDev ? '[name].js' : 'static/[name].[fullhash:8].js',
chunkFilename: isDev
? '[name].chunk.js'
: 'static/[name].[chunkhash:8].chunk.js',