diff --git a/lib/server.js b/lib/server.js index 9c321e3..969ad68 100644 --- a/lib/server.js +++ b/lib/server.js @@ -27,7 +27,7 @@ class Server { } createHttpServer () { - const distServeStatic = serveStatic('dist/html/') + const distServeStatic = serveStatic('dist/') const faviconsServeStatic = serveStatic('favicons/') this._http = http.createServer((req, res) => { diff --git a/package.json b/package.json index fd8cade..06a8132 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,13 @@ "engines": { "node": ">=12.4.0" }, + "targets": { + "main": { + "engines": { + "browsers": "defaults" + } + } + }, "devDependencies": { "@babel/core": "^7.10.2", "@babel/plugin-proposal-class-properties": "^7.10.1",