From c970b9a3c6ae16956b8d269f698d5a2b2cbb911a Mon Sep 17 00:00:00 2001 From: Cezar Augusto Date: Fri, 6 Sep 2024 13:00:29 -0300 Subject: [PATCH] Fix failing create test --- examples/data.ts | 2 +- .../feature-manifest/steps/update-manifest.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/data.ts b/examples/data.ts index 3c93a28a..9f356f99 100644 --- a/examples/data.ts +++ b/examples/data.ts @@ -47,7 +47,7 @@ const JS_TEMPLATES: Template[] = [ name: 'config-stylelint', uiContext: ['newTab'], uiFramework: undefined, - css: 'css', + css: 'sass', hasBackground: false, hasEnv: false, configFiles: ['stylelint.config.json'] diff --git a/programs/develop/webpack/plugin-extension/feature-manifest/steps/update-manifest.ts b/programs/develop/webpack/plugin-extension/feature-manifest/steps/update-manifest.ts index 3fa806ab..225144f3 100644 --- a/programs/develop/webpack/plugin-extension/feature-manifest/steps/update-manifest.ts +++ b/programs/develop/webpack/plugin-extension/feature-manifest/steps/update-manifest.ts @@ -40,7 +40,6 @@ export class UpdateManifest { ) { if (!overrides.content_scripts) return {} - console.log('reach1') return overrides.content_scripts.map( (contentObj: {js: string[]; css: string[]}, index: number) => { if (contentObj.js.length && !contentObj.css.length) { @@ -99,8 +98,9 @@ export class UpdateManifest { } } - // During production, if user has the output of a CSS file in content_scripts, - // we add it to the manifest so that the file is copied to the output directory. + // During production, webpack styles are bundled in a CSS file, + // and not injected in the page via