andrewdavey / andrewdavey/cassette

Support using .min.js files

Aperta
#423 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
531
Fork
139
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Some libraries cannot be minified without breaking the code or undoing optimizations. Popular ones include angularjs and lodash.

Cassette should allow to use .min.js files when available.

An easy solution would be to support this at least when passing an array of strings to the bundle, where we specify the files to be added manually. If the file ends with .min.js, just skip minification.

This would allow us to create extension methods that filter the require files ourselves and wouldn't change existing behavior.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.