mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Compile JS with --minify.
This commit is contained in:
parent
f00c6c8c5d
commit
4bc2770333
@ -3,6 +3,9 @@
|
||||
* Trust type annotations when compiling to JavaScript, which makes it
|
||||
substantially faster.
|
||||
|
||||
* Compile to minified JavaScript, which decreases the code size substantially
|
||||
and makes startup a little faster.
|
||||
|
||||
## 1.0.0-alpha.9
|
||||
|
||||
* Elements without a namespace (such as `div`) are no longer unified with
|
||||
|
@ -58,6 +58,7 @@ js() {
|
||||
_ensureBuild();
|
||||
var destination = new File('build/sass.dart.js');
|
||||
Dart2js.compile(new File('bin/sass.dart'), outFile: destination, extraArgs: [
|
||||
'--minify',
|
||||
'--trust-type-annotations',
|
||||
'-Dnode=true',
|
||||
'-Dversion=$_version',
|
||||
|
Loading…
x
Reference in New Issue
Block a user