From 089b75ba2b0b4bf1153a4545fcbdf30e4ad2ded8 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Mon, 6 May 2024 11:19:52 +0200 Subject: [PATCH] Unclutter the root folder a bit --- esbuild.js | 5 ++++- gcm.js => src/gcm.js | 0 main.css => src/main.css | 0 main.js => src/main.js | 0 4 files changed, 4 insertions(+), 1 deletion(-) rename gcm.js => src/gcm.js (100%) rename main.css => src/main.css (100%) rename main.js => src/main.js (100%) diff --git a/esbuild.js b/esbuild.js index 3e30817..907ce40 100644 --- a/esbuild.js +++ b/esbuild.js @@ -38,7 +38,10 @@ async function generateInjectCSS(sourcePath) { } esbuild.build({ - entryPoints: [{out:"f3cc",in:"main.js"}, {out:"f3cc/gcm", in:"gcm.js"}], + entryPoints: [ + { out: "f3cc", in: "./src/main.js" }, + { out: "f3cc/gcm", in: "./src/gcm.js" }, + ], outdir: "feincms3_cookiecontrol/static", bundle: true, minify: true, diff --git a/gcm.js b/src/gcm.js similarity index 100% rename from gcm.js rename to src/gcm.js diff --git a/main.css b/src/main.css similarity index 100% rename from main.css rename to src/main.css diff --git a/main.js b/src/main.js similarity index 100% rename from main.js rename to src/main.js