mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-31 17:57:43 +01:00
Fix webpack using double dots (#2293)
This commit is contained in:
parent
aa8fe04a28
commit
ade2a96239
@ -25,7 +25,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.svg/,
|
exclude: /loading.svg/,
|
||||||
generator: {
|
generator: {
|
||||||
filename: "popup/fonts/[name].[ext]",
|
filename: "popup/fonts/[name][ext]",
|
||||||
},
|
},
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
},
|
},
|
||||||
@ -33,7 +33,7 @@ const moduleRules = [
|
|||||||
test: /\.(jpe?g|png|gif|svg)$/i,
|
test: /\.(jpe?g|png|gif|svg)$/i,
|
||||||
exclude: /.*(fontawesome-webfont|glyphicons-halflings-regular)\.svg/,
|
exclude: /.*(fontawesome-webfont|glyphicons-halflings-regular)\.svg/,
|
||||||
generator: {
|
generator: {
|
||||||
filename: "popup/images/[name].[ext]",
|
filename: "popup/images/[name][ext]",
|
||||||
},
|
},
|
||||||
type: "asset/resource",
|
type: "asset/resource",
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user