• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

Engaged ,
Mar 18, 2019 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

Views

1.6K

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
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 18, 2019 Mar 18, 2019

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

Votes

Translate

Translate
Community Expert ,
Mar 18, 2019 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

Wappler, the only real Dreamweaver alternative.

Votes

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
community guidelines
Engaged ,
Mar 18, 2019 Mar 18, 2019

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines