medialize / sass.js

Sass.js - API for emscripted libsass to run in the browser
http://medialize.github.io/playground.sass.js/
MIT License
1.2k stars 135 forks source link

Minified version #119

Open ericuldall opened 5 years ago

ericuldall commented 5 years ago

Hello,

Is there currently minified versions of the library available? If not, could it be added to the build process. Maybe in the release we can have:

dist/
dist-min/

or something of that sort.

Regards,

Eric

rodneyrehm commented 5 years ago

Hey there,

emscripten already minifes the compiled libsass code. What is not minfied is the sass.js glue code.

ericuldall commented 5 years ago

For instance i'm using sass.sync.js Minified it saved about .2MB ...not much but i'll take any savings I can.

rodneyrehm commented 5 years ago

and it still works when minified again? last time I tried that the emscripted libsass broke…

ericuldall commented 5 years ago

It worked for me. Minified using Grunt.