Skip to main content
Known Participant
Feb 9, 2021 11:34 PM UTC
Answered

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

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.

This topic is closed to new replies. Start a new post to keep the conversation going.
Nancy OShea
Nancy OSheaCorrect answer
Community Expert
Feb 10, 2021 1:27 AM UTC

5 replies

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
Feb 10, 2021 1:27 AM UTC
Known Participant
Feb 10, 2021 6:08 AM UTC

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
Known Participant
Feb 10, 2021 6:31 AM UTC

@Nancy OShea 

 

The solution was in thread you posted:

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

Translate
Nancy OShea
Community Expert
Community Expert
Feb 10, 2021 1:22 AM UTC

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

 

Translate
Nancy O'Shea— Product User & Community Expert
Community Expert
Feb 10, 2021 12:12 AM UTC

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