Ensure modules are bundled (#239)
This commit is contained in:
parent
97ef92ff92
commit
0dd9aa9362
@ -27,7 +27,7 @@ class Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
createHttpServer () {
|
createHttpServer () {
|
||||||
const distServeStatic = serveStatic('dist/html/')
|
const distServeStatic = serveStatic('dist/')
|
||||||
const faviconsServeStatic = serveStatic('favicons/')
|
const faviconsServeStatic = serveStatic('favicons/')
|
||||||
|
|
||||||
this._http = http.createServer((req, res) => {
|
this._http = http.createServer((req, res) => {
|
||||||
|
@ -29,6 +29,13 @@
|
|||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=12.4.0"
|
"node": ">=12.4.0"
|
||||||
},
|
},
|
||||||
|
"targets": {
|
||||||
|
"main": {
|
||||||
|
"engines": {
|
||||||
|
"browsers": "defaults"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.10.2",
|
"@babel/core": "^7.10.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
"@babel/plugin-proposal-class-properties": "^7.10.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user