fix: (regression 0.38.0) node/npm distribution no longer working
Massimo Melina committed
Mar 18, 2023 at 19:33 UTC
a8d5971571e64a9f749bd63b647cd045dbbdf7ec
2 files changed
+1
-1
package.json
+1
@@ -77,6 +77,7 @@
77
"open": "^8.4.0",
78
"tssrp6a": "^3.0.0",
79
"unzip-stream": "^0.3.1",
80
+ "valtio": "^1.10.3",
81
"yaml": "^2.0.0-10"
82
},
83
"devDependencies": {
src/serveGuiFiles.ts
-1
@@ -21,7 +21,6 @@ import { favicon, title } from './adminApis'
21
import { subscribe } from 'valtio'
22
import { customHtmlState, getSection } from './customHtml'
23
import _ from 'lodash'
24
-import { getWholeConfig } from './config'
24
25
// in case of dev env we have our static files within the 'dist' folder'
26
const DEV_STATIC = process.env.DEV ? 'dist/' : ''