google chrome - Dart sourcemaps for packaged app -
i'm having problem getting source maps running when app packaged chrome app. (i cannot see dart files in chrome developer tools). feature supported?
when running page is, not packaged app, source map works fine.
i managed working unpacked extension, changing sourcemapingurl in generated js file absolute path:
//@ sourcemappingurl=file:///absolute_path.js.map
i wonder if can done packaged application.
it works in sdk 0.7.1 build run via build.dart
#!/usr/bin/env dart import 'dart:io'; import 'package:polymer/component_build.dart'; import 'package:polymer/deploy.dart' deploy; void main() { build(new options().arguments, ['web/flashcards.html']) .then((_) => deploy.main()); }
Comments
Post a Comment