Skip to content

CSS file not generated when input is empty but when CSS should still be generated due to prefix being set #97

@kruncher

Description

@kruncher

If SCSS source file is empty and prefix is set then the CSS file should still be generated:

const scssConfig = {
  processor: () => postcss(postCssConfig),

  output: "./static-dev/css/main.css",
  outputStyle: "compressed",
  sourceMap: isPreview,
  failOnError: true,

  prefix: `@import "./frontend/styles/base.scss";`,

  includePaths: [
    "./node_modules/prismjs/themes",
  ],
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions