voltraco / mineral-loader

A webpack loader for mineral

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SYNOPSIS

A webpack loader for mineral

DESCRIPTION

After installing this loader, you will be able to use require() to read and parse mineral templates.

USAGE

module.exports = {
  node: {
    __dirname: true,
    fs: 'empty'
  },
  module: {
    loaders: [
      {
        test: /\.min$/,
        loader: 'mineral-loader'
      }
    ]
  }
}

About

A webpack loader for mineral


Languages

Language:JavaScript 100.0%