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:
parent
ec3c95d736
commit
a7c5f1ad45
@ -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",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user