Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.63 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.63 KB

aurelia-webpack-plugin

npm Version ZenHub Join the chat at https://gitter.im/aurelia/discuss

This library is part of the Aurelia platform and contains a Webpack plugin designed to enable proper Webpack bundling.

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions, please join our community on Gitter or use stack overflow. Documentation can be found in our developer hub. If you would like to have deeper insight into our development process, please install the ZenHub Chrome or Firefox Extension and visit any of our repository's boards.

Installation

Install with npm

npm install aurelia-webpack-plugin

Usage

Add the plugin to the webpack config file:

let { AureliaPlugin } = require('aurelia-webpack-plugin');
module.exports = {
  entry: 'aurelia-bootstrapper',
  output: {
    path: 'dist',
    filename: 'main.js'
  },
  plugins: [ new AureliaPlugin() ]
};