Highlighted

Compiling SCSS files with an underscore in the file name possible?

Engaged ,
Mar 18, 2019

Copy link to clipboard

Copied

Hello everyone

I'm making websites with SCSS files using 2019 version of Dreamweaver for Mac.

Compiling SCSS files had been going fine until I changed the name of a .scss file to start with an underscore (e.g. _global.scss).

Now I notice any .scss file with an underscore at the beginning of its name doesn't get compiled at all by Dreamweaver.

Given the convention of using the underscore in the name of .css files to be imported,

isn't there a way to convert such .scss files using Dreamweaver?

I don't want to resort to using a third-party app for the sake of naming .scss files with an underscore.

Some help would be appreciated.

Thank you in advance,

Ead

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

Normally I place an underscore for the partials without using an underscore when importing the files into the main sass document as per

Views

536

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Compiling SCSS files with an underscore in the file name possible?

Engaged ,
Mar 18, 2019

Copy link to clipboard

Copied

Hello everyone

I'm making websites with SCSS files using 2019 version of Dreamweaver for Mac.

Compiling SCSS files had been going fine until I changed the name of a .scss file to start with an underscore (e.g. _global.scss).

Now I notice any .scss file with an underscore at the beginning of its name doesn't get compiled at all by Dreamweaver.

Given the convention of using the underscore in the name of .css files to be imported,

isn't there a way to convert such .scss files using Dreamweaver?

I don't want to resort to using a third-party app for the sake of naming .scss files with an underscore.

Some help would be appreciated.

Thank you in advance,

Ead

Adobe Community Professional
Correct answer by BenPleysier | Adobe Community Professional

Normally I place an underscore for the partials without using an underscore when importing the files into the main sass document as per

Views

537

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 18, 2019 0
Adobe Community Professional ,
Mar 18, 2019

Copy link to clipboard

Copied

Normally I place an underscore for the partials without using an underscore when importing the files into the main sass document as per


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 18, 2019 1
Eadig LATEST
Engaged ,
Mar 18, 2019

Copy link to clipboard

Copied

Thank you. I now see why Dreamweaver doesn't work the way I expected it to:

The use of @import to call .scss files with an underscore without using the underscore works,

so the app doesn't have to compile them.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 18, 2019 0