Opened 3 years ago

Closed 3 years ago

#13814 closed New Feature (invalid)

.min.js file extensions

Reported by: Alexander Owned by:
Priority: Normal Milestone:
Component: Server : Python Version: 4.5.4
Keywords: Cc:

Description

Hello.

Why are you not use '.min.js' extensions for files which are actually minified in CKEditor distribution package?

I have an asset manager for my site, which decides to minify JS file or not to minify. Its decision depends on file extension and I have no idea how to determine is it source file already minified or not in another way.

Of course, a can change files extensions after unpacking CKEditor manually, but how can I manage languages and plugins loading?

Thank you.

Change History (1)

comment:1 Changed 3 years ago by Marek Lewandowski

Resolution: invalid
Status: newclosed

Well, we don't see it as a problem, either you use distribution version which is completely minified or use dev version which is not. It's up to your asset manager to provide you proper mechanism to detect minified library.

As such you might set that files within ckeditor are minified, while ckeditor-dev are not.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy