fix: add browser flag and ignore node modules for building

This commit is contained in:
Derrick Hammer 2023-07-02 17:35:26 -04:00
parent e2451f3ac1
commit 3189956069
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@
"@lumeweb/presetter-kernel-module-preset"
],
"config": {
"official": true
"official": true,
"browser": true
}
}

View File

@ -18,5 +18,10 @@
"dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.12",
"@lumeweb/libpeerdiscovery": "^0.1.0-develop.1"
},
"browser": {
"node-fetch": false,
"stream": false,
"formdata-polyfill": false
}
}