Use stream-browserify instead of stream.

This commit is contained in:
Kavin 2022-10-20 14:17:50 +01:00
parent aaf1ca48b2
commit 5bf24200b7
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
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: {