Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

/* */ Comments in source Sass files are not closed correctly #900

@liamprescott

Description

@liamprescott

/* */ Comment statements in source Sass files are not closed correctly in the output CSS when output-style is either 'compact' or 'compressed'

OS: Windows

CLI:

node-sass style/scss/main.scss style/css/main.css --source-map true --output-style compact

The following Sass:

/**
 * Comment
 */
.foo
{
  display:block;
} 

Outputs the following CSS:

/** This is global comment before a class statement /
.foo { display: block; }

/*# sourceMappingURL=main.css.map */

Please note the missing * before the closing / of the comment in the CSS.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions