1
Fork 0

Rename the content-scripts CSS main file.

This commit is contained in:
Bauke 2023-06-12 20:11:56 +02:00
parent beba5e7d39
commit 5eafa8d1c8
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 3 additions and 3 deletions

View File

@ -101,10 +101,10 @@ const options: esbuild.BuildOptions = {
}; };
const contentStyleOptions: 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, logLevel: options.logLevel,
minify: options.minify, minify: options.minify,
outfile: path.join(outDir, "css/shepherd.css"), outfile: path.join(outDir, "css/content-scripts.css"),
plugins: [createSassPlugin("css")], plugins: [createSassPlugin("css")],
sourcemap: options.sourcemap, sourcemap: options.sourcemap,
target: options.target, target: options.target,

View File

@ -20,7 +20,7 @@ export function createManifest(browser: string): Manifest.WebExtensionManifest {
}, },
content_scripts: [ content_scripts: [
{ {
css: ["css/shepherd.css"], css: ["css/content-scripts.css"],
js: ["content-scripts/setup.js"], js: ["content-scripts/setup.js"],
matches: ["https://*.tildes.net/*"], matches: ["https://*.tildes.net/*"],
run_at: "document_start", run_at: "document_start",