Ensure modules are bundled (#239)

This commit is contained in:
chatasma 2021-04-02 15:15:03 -05:00 committed by GitHub
parent 97ef92ff92
commit 0dd9aa9362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

@ -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) => {

@ -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",