dl
dart-loader
npm i dart-loader
dl

dart-loader

Dart webpack loader

by Matt Dziuban

0.0.1 (see all)License:MITTypeScript:Not Found
npm i dart-loader
Readme

Dart Webpack loader

npm

Usage

This is a simple Webpack loader that shells out to dart2js to build a Dart web app.

To use it, first install the package:

$ npm install --save dart-loader

then configure the loader in your Webpack config:

module.exports = {
  // ...
  module: {
    rules: [
      { test: /\.dart$/, loader: 'dart-loader' },
      // ...
    ]
  }
}

Make sure you have the dart2js binary somewhere in your PATH.

Example

Check out the example directory for a simple Hello World example.

Downloads/wk

5

GitHub Stars

18

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

1

OPEN PRs

4
VersionTagPublished
0.0.1
latest
6yrs ago
No alternatives found
No tutorials found
Add a tutorial

Rate & Review

100
No reviews found
Be the first to rate