1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-24 11:55:50 +01:00

Fix webpack using double dots (#1272)

This commit is contained in:
Oscar Hinton 2022-01-27 19:36:50 +01:00 committed by GitHub
parent ec3c95d736
commit a7c5f1ad45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ const common = {
test: /\.(jpe?g|png|gif|svg)$/i, test: /\.(jpe?g|png|gif|svg)$/i,
exclude: /.*(fontawesome-webfont)\.svg/, exclude: /.*(fontawesome-webfont)\.svg/,
generator: { generator: {
filename: "images/[name].[ext]", filename: "images/[name][ext]",
}, },
type: "asset/resource", type: "asset/resource",
}, },
@ -76,7 +76,7 @@ const renderer = {
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/, test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
exclude: /loading.svg/, exclude: /loading.svg/,
generator: { generator: {
filename: "fonts/[name].[ext]", filename: "fonts/[name][ext]",
}, },
type: "asset/resource", type: "asset/resource",
}, },