Use stream-browserify instead of stream.

This commit is contained in:
Kavin
2022-10-20 14:17:50 +01:00
parent aaf1ca48b2
commit 5bf24200b7
3 changed files with 27 additions and 15 deletions

View File

@@ -68,7 +68,7 @@ export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
emitter: "node_modules/emitter-component/index.js",
stream: "stream-browserify",
},
},
build: {