1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-06 00:13:28 +00:00

[EC-251] Fix web local development (#2775)

* Wip

* Fix bitwarden licensed web

* Fix template paths

* Cleanup gitattributes git-blame-ignore-revs

* Fix tsconfig, add postcss and tailwind config to bitwarden_license.

* And done
This commit is contained in:
Oscar Hinton
2022-06-02 17:59:43 +02:00
committed by GitHub
parent 4ce84cad4f
commit 4869a231bf
27 changed files with 3609 additions and 14672 deletions

View File

@@ -125,8 +125,8 @@ const plugins = [
{ from: "./src/404", to: "404" },
{ from: "./src/images", to: "images" },
{ from: "./src/locales", to: "locales" },
{ from: "./node_modules/qrious/dist/qrious.min.js", to: "scripts" },
{ from: "./node_modules/braintree-web-drop-in/dist/browser/dropin.js", 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" },
{
from: "./src/version.json",
transform(content, path) {
@@ -317,7 +317,7 @@ const webpackConfig = {
resolve: {
extensions: [".ts", ".js"],
symlinks: false,
modules: [path.resolve("node_modules")],
modules: [path.resolve("../../node_modules")],
alias: {
sweetalert2: require.resolve("sweetalert2/dist/sweetalert2.js"),
"#sweetalert2": require.resolve("sweetalert2/src/sweetalert2.scss"),