From 5eafa8d1c8538816cb32cf5dfd2cf9a71c985799 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 12 Jun 2023 20:11:56 +0200 Subject: [PATCH] Rename the content-scripts CSS main file. --- source/build.ts | 4 ++-- source/manifest.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/build.ts b/source/build.ts index 6cdca6a..81f19fd 100644 --- a/source/build.ts +++ b/source/build.ts @@ -101,10 +101,10 @@ const options: esbuild.BuildOptions = { }; const contentStyleOptions: esbuild.BuildOptions = { - entryPoints: [path.join(sourceDir, "scss/shepherd/shepherd.scss")], + entryPoints: [path.join(sourceDir, "scss/content-scripts/main.scss")], logLevel: options.logLevel, minify: options.minify, - outfile: path.join(outDir, "css/shepherd.css"), + outfile: path.join(outDir, "css/content-scripts.css"), plugins: [createSassPlugin("css")], sourcemap: options.sourcemap, target: options.target, diff --git a/source/manifest.ts b/source/manifest.ts index aac3e06..ae3024d 100644 --- a/source/manifest.ts +++ b/source/manifest.ts @@ -20,7 +20,7 @@ export function createManifest(browser: string): Manifest.WebExtensionManifest { }, content_scripts: [ { - css: ["css/shepherd.css"], + css: ["css/content-scripts.css"], js: ["content-scripts/setup.js"], matches: ["https://*.tildes.net/*"], run_at: "document_start",