dart_to_js_script_rewriter 1.0.3 copy "dart_to_js_script_rewriter: ^1.0.3" to clipboard
dart_to_js_script_rewriter: ^1.0.3 copied to clipboard

Dart 1 only

Replaces Dart script tags with JavaScript script tags, speeding up initial loads and reducing 404s. Use when ready to deploy.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_to_js_script_rewriter

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_to_js_script_rewriter: ^1.0.3

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_to_js_script_rewriter/dart_to_js_script_rewriter.dart';
0
likes
25
pub points
33%
popularity

Publisher

unverified uploader

Replaces Dart script tags with JavaScript script tags, speeding up initial loads and reducing 404s. Use when ready to deploy.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

barback, html

More

Packages that depend on dart_to_js_script_rewriter