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

DW 2019 macOS: "default.css" will be minified with uploading it to the site

Contributor ,
Feb 09, 2021 Feb 09, 2021

Hello.

When I upload "default.css" to the site, it gets minified automatically.

 

I couldn't find the option to deactivate that function.

 

Please, can you give me a hint? Thanks.

TOPICS
Code
383
Translate
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 , Feb 09, 2021 Feb 09, 2021
Translate
Community Expert ,
Feb 09, 2021 Feb 09, 2021

Dreamweaver doesn't do anything to auto-minify that I am aware of.  Have you confirmed with your server administrator that there is nothing on the server side doing this?

Translate
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
Community Expert ,
Feb 09, 2021 Feb 09, 2021

Or possibly you installed a 3rd party extension that minifies scripts??

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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
Community Expert ,
Feb 09, 2021 Feb 09, 2021

Possibly related:

https://community.adobe.com/t5/dreamweaver/why-is-dreamweaver-minifying-my-css-when-i-save-to-server...

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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
Contributor ,
Feb 09, 2021 Feb 09, 2021

Thanks for your helpful answers.

Yesterday I asked the admin of the server, if there are any processes on the server which can cause that minification. He said "no".

What I really wonder is, that, when use the command in DW to upload to the site the  "default.css" get's minified, but a test file "default-foo.css" (in the same folder) get's not.

Further: When I upload "default.css" via my file manager (instead of DW), "default.css" get's not minified.

I do not use any extension with DW.

Hhhmmm. At the moment I do not know what else I can do to find the cause.

Translate
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
Contributor ,
Feb 09, 2021 Feb 09, 2021
LATEST

@Nancy OShea 

 

The solution was in thread you posted:

When I change the linebreak type from "macOS" to "Linux LF" everything is fine.

Translate
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