From b2a97219f54845318c1be4919f92091ac30edd2c Mon Sep 17 00:00:00 2001 From: Dillon Kearns Date: Fri, 8 Jul 2022 09:38:14 -0700 Subject: [PATCH] Re-order arguments for consistency. --- generator/src/dev-server.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/generator/src/dev-server.js b/generator/src/dev-server.js index a9f73ba0..9ebbcd2d 100644 --- a/generator/src/dev-server.js +++ b/generator/src/dev-server.js @@ -142,17 +142,18 @@ async function start(options) { esbuild .build({ entryPoints: ["./port-data-source"], - entryNames: "[dir]/[name]-[hash]", platform: "node", - outdir: ".elm-pages/compiled-ports", assetNames: "[name]-[hash]", chunkNames: "chunks/[name]-[hash]", outExtension: { ".js": ".js" }, - logLevel: "error", - metafile: true, bundle: true, watch: true, + logLevel: "error", + + outdir: ".elm-pages/compiled-ports", + entryNames: "[dir]/[name]-[hash]", + plugins: [ { name: "example",