1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Remove old u2f connector (#1406)

This commit is contained in:
Oscar Hinton
2022-01-21 15:00:53 +01:00
committed by GitHub
parent a0f1b4dd0d
commit f387a4d469
5 changed files with 1 additions and 950 deletions

View File

@@ -77,11 +77,6 @@ const plugins = [
filename: "duo-connector.html",
chunks: ["connectors/duo"],
}),
new HtmlWebpackPlugin({
template: "./src/connectors/u2f.html",
filename: "u2f-connector.html",
chunks: ["connectors/u2f"],
}),
new HtmlWebpackPlugin({
template: "./src/connectors/webauthn.html",
filename: "webauthn-connector.html",
@@ -123,7 +118,6 @@ const plugins = [
{ from: "./src/404", to: "404" },
{ from: "./src/images", to: "images" },
{ from: "./src/locales", to: "locales" },
{ from: "./src/scripts", to: "scripts" },
{ from: "./node_modules/qrious/dist/qrious.min.js", to: "scripts" },
{ from: "./node_modules/braintree-web-drop-in/dist/browser/dropin.js", to: "scripts" },
{
@@ -215,7 +209,6 @@ const webpackConfig = {
entry: {
"app/polyfills": "./src/app/polyfills.ts",
"app/main": "./src/app/main.ts",
"connectors/u2f": "./src/connectors/u2f.js",
"connectors/webauthn": "./src/connectors/webauthn.ts",
"connectors/webauthn-fallback": "./src/connectors/webauthn-fallback.ts",
"connectors/duo": "./src/connectors/duo.ts",
@@ -223,9 +216,6 @@ const webpackConfig = {
"connectors/captcha": "./src/connectors/captcha.ts",
theme_head: "./src/theme.js",
},
externals: {
u2f: "u2f",
},
optimization: {
splitChunks: {
cacheGroups: {