mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
small changes
This commit is contained in:
parent
30adf894aa
commit
a0ef702b54
16 changed files with 124 additions and 113 deletions
|
@ -15,7 +15,7 @@ const bare = createBareServer("/bare/", {
|
|||
});
|
||||
|
||||
const fastify = Fastify({
|
||||
serverFactory: (handler, opts) => {
|
||||
serverFactory: (handler) => {
|
||||
return createServer()
|
||||
.on("request", (req, res) => {
|
||||
if (bare.shouldRoute(req)) {
|
||||
|
@ -59,6 +59,7 @@ const devServer = await context({
|
|||
bundle: true,
|
||||
sourcemap: true,
|
||||
logLevel: "info",
|
||||
format: "esm",
|
||||
plugins: [
|
||||
copy({
|
||||
resolveFrom: "cwd",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue