Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update browser extension output path (#581)

Leendert de Borst0bace49e95cd
diff --git a/.github/workflows/browser-extension-build.yml b/.github/workflows/browser-extension-build.yml
index 6fcebb3f1..877768bd3 100644
--- a/.github/workflows/browser-extension-build.yml
+++ b/.github/workflows/browser-extension-build.yml
@@ -42,7 +42,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: aliasvault-chrome-extension-${{ github.event_name == 'release' && github.ref_name || (github.ref_name == 'main' && format('main-{0}', github.sha) || github.sha) }}
- path: browser-extension/.output/chrome-mv3/
+ path: browser-extension/dist/chrome-mv3/
upload-release-assets:
runs-on: ubuntu-latest
@@ -56,11 +56,11 @@ jobs:
uses: actions/download-artifact@v4
with:
name: aliasvault-chrome-extension-${{ github.ref_name }}
- path: browser-extension/.output/chrome-mv3/
+ path: browser-extension/dist/chrome-mv3/
- name: Zip Chrome Extension
run: |
- cd browser-extension/.output/chrome-mv3
+ cd browser-extension/dist/chrome-mv3
zip -r ../../../aliasvault-chrome-extension-${{ github.ref_name }}.zip .
- name: Upload Chrome Extension ZIP to Release
diff --git a/browser-extension/.gitignore b/browser-extension/.gitignore
index a25695382..c2820a1d4 100644
--- a/browser-extension/.gitignore
+++ b/browser-extension/.gitignore
@@ -9,6 +9,7 @@ lerna-debug.log*
node_modules
.output
+dist
stats.html
stats-*.json
.wxt
diff --git a/browser-extension/wxt.config.ts b/browser-extension/wxt.config.ts
index ecba90d15..8dd8f822d 100644
--- a/browser-extension/wxt.config.ts
+++ b/browser-extension/wxt.config.ts
@@ -27,6 +27,7 @@ export default defineConfig({
extensionApi: 'chrome',
modules: ['@wxt-dev/module-react'],
srcDir: 'src',
+ outDir: 'dist',
vite: () => ({
plugins: [
identityGenDictLoader(),
diff --git a/docs/browser-extensions/chrome/build-from-source.md b/docs/browser-extensions/chrome/build-from-source.md
index 99d98e4f2..9dea38123 100644
--- a/docs/browser-extensions/chrome/build-from-source.md
+++ b/docs/browser-extensions/chrome/build-from-source.md
@@ -22,9 +22,9 @@ This guide explains how to build and install the AliasVault Google Chrome extens
git clone https://github.com/lanedirt/AliasVault.git
```
-2. Navigate to the Google Chrome extension directory:
+2. Navigate to the Browser Extension directory:
```bash
-cd AliasVault/browser-extensions/chrome
+cd AliasVault/browser-extension
```
3. Install the required dependencies:
@@ -42,7 +42,7 @@ npm run build
1. Open Google Chrome and go to `chrome://extensions/`
2. Enable "Developer mode" using the toggle in the top right corner
3. Click "Load unpacked"
-4. Navigate to and select the `dist` folder inside `browser-extensions/chrome`
+4. Navigate to and select the folder `browser-extension/dist/chrome-mv3`
5. The AliasVault extension should now appear in your extensions list
## Development Mode (Optional)
diff --git a/docs/browser-extensions/install.md b/docs/browser-extensions/install.md
deleted file mode 100644
index e69de29bb..000000000