mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-29 12:55:21 +01:00
Fix webpack assets using wrong name (#1391)
This commit is contained in:
parent
41d3bd8cf2
commit
dfd62c7c3a
@ -31,7 +31,7 @@ const moduleRules = [
|
|||||||
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
||||||
exclude: /loading(|-white).svg/,
|
exclude: /loading(|-white).svg/,
|
||||||
generator: {
|
generator: {
|
||||||
filename: "fonts/[name].[ext]",
|
filename: "fonts/[name][ext]",
|
||||||
},
|
},
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
},
|
},
|
||||||
@ -39,7 +39,7 @@ const moduleRules = [
|
|||||||
test: /\.(jpe?g|png|gif|svg|webp|avif)$/i,
|
test: /\.(jpe?g|png|gif|svg|webp|avif)$/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",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user