mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
List the dart2js version in the --version string.
This commit is contained in:
parent
68bd26637a
commit
d1554ee796
@ -57,8 +57,10 @@ package() async {
|
||||
js() {
|
||||
_ensureBuild();
|
||||
var destination = new File('build/sass.dart.js');
|
||||
Dart2js.compile(new File('bin/sass.dart'),
|
||||
outFile: destination, extraArgs: ['-Dnode=true', '-Dversion=$_version']);
|
||||
Dart2js.compile(new File('bin/sass.dart'), outFile: destination, extraArgs: [
|
||||
'-Dnode=true',
|
||||
'-Dversion=$_version compiled with dart2js $_dartVersion'
|
||||
]);
|
||||
var text = destination.readAsStringSync();
|
||||
destination.writeAsStringSync("""
|
||||
${preamble.getPreamble()}
|
||||
|
Loading…
Reference in New Issue
Block a user