fix node-fetch package runtime error

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and Sebastian Malton committed 2023-01-25 08:51:51 -05:00
1 parent 0ed06a3ac8
commit efc8101219
10 files changed
+17 -69

No files matched your search

+6 -5
View File
@@ -4,13 +4,14 @@
"description": "Node fetch for Lens",
"license": "MIT",
"private": false,
"exports": {
".": "./dist/index.js"
},
"types": "./dist/src/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "rm -rf dist/",
"build": "webpack --config webpack.ts"
"build": "webpack --config webpack.ts",
"lint": "exit 0",
"prepare:dev": "yarn run build",
"prepare:lint": "yarn run build"
},
"dependencies": {
"node-fetch": "^3.3.0"
-1
View File
@@ -1,7 +1,6 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"outDir": "dist/",
"paths": {
"*": [
-1
View File
@@ -10,7 +10,6 @@ export default {
path: path.resolve(__dirname, "dist"),
filename: "index.js",
library: {
name: "NodeFetch",
type: "commonjs",
},
clean: true,