fix: add browser flag and ignore node modules for building
This commit is contained in:
parent
e2451f3ac1
commit
3189956069
|
@ -3,6 +3,7 @@
|
||||||
"@lumeweb/presetter-kernel-module-preset"
|
"@lumeweb/presetter-kernel-module-preset"
|
||||||
],
|
],
|
||||||
"config": {
|
"config": {
|
||||||
"official": true
|
"official": true,
|
||||||
|
"browser": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,5 +18,10 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libkernel": "^0.1.0-develop.12",
|
"@lumeweb/libkernel": "^0.1.0-develop.12",
|
||||||
"@lumeweb/libpeerdiscovery": "^0.1.0-develop.1"
|
"@lumeweb/libpeerdiscovery": "^0.1.0-develop.1"
|
||||||
|
},
|
||||||
|
"browser": {
|
||||||
|
"node-fetch": false,
|
||||||
|
"stream": false,
|
||||||
|
"formdata-polyfill": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue