1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

Fix webpack using double dots (#2293)

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

View File

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