Miel loader module for webpack
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
index.js
package.json

README.md

miel-loader

Miel loader module for webpack

See Miel repo for more information on Miel syntax.

Install

npm install miel-loader --save-dev

or simply

npm i miel-loader -D

Usage

// in webpack.config.js

module: {
  loaders: [
    { test: /\.js$/, loader: "miel-loader" }
  ]
}

or in combination with Babel (order matters):

module: {
  loaders: [
    { test: /\.js$/, loaders: ['babel', 'miel'], exclude: /node_modules/}
  ]
}