Milestone v1 (v2.0.0): Mokosh — Session Capture #1

Merged
strategy155 merged 297 commits from gsd/phase-04-harden-clean-up-optional into main 2026-05-31 15:34:17 +00:00
3 changed files with 1952 additions and 0 deletions
Showing only changes of commit dd7bf00d1d - Show all commits

1941
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -20,6 +20,7 @@
"@types/chrome": "^0.0.268", "@types/chrome": "^0.0.268",
"typescript": "^5.5.4", "typescript": "^5.5.4",
"vite": "^5.4.2", "vite": "^5.4.2",
"vite-plugin-node-polyfills": "^0.27.0",
"vitest": "^4" "vitest": "^4"
} }
} }

View File

@@ -1,5 +1,6 @@
import { defineConfig } from 'vite'; import { defineConfig } from 'vite';
import { crx } from '@crxjs/vite-plugin'; import { crx } from '@crxjs/vite-plugin';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
import manifest from './manifest.json'; import manifest from './manifest.json';
export default defineConfig({ export default defineConfig({
@@ -10,6 +11,15 @@ export default defineConfig({
injectCss: false, injectCss: false,
}, },
}), }),
nodePolyfills({
include: ['buffer'],
globals: {
Buffer: true,
global: false,
process: false,
},
protocolImports: false,
}),
], ],
resolve: { resolve: {
alias: { alias: {