Rename the content-scripts CSS main file.
This commit is contained in:
parent
beba5e7d39
commit
5eafa8d1c8
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue