Skip to content

Dart webpack loader updated for 2.18.0

License

Notifications You must be signed in to change notification settings

MOPineyro/dart-loader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Dart webpack loader updated for 2.18.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.5%
  • HTML 15.1%
  • Dart 8.4%