Milestone v1 (v2.0.0): Mokosh — Session Capture #1
1941
package-lock.json
generated
1941
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user