Monkberry loader for webpack
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.npmignore
README.md
package.json

README.md

Monkberry loader for webpack

npm install monkberry-loader --save

Usage

module.exports = {
  ...
  module: {
    rules: [
      {
        test: /\.monk$/,
        use: [
          {
            loader: 'monkberry-loader',
            options: { /* ... */ }
          }
        ],
      }
    ]
  },
  ...
}

Configuration (optional)

Add monkberry options to your webpack.config.js:

options: {
  globals: ['window'],
  transforms: [...]
}