Skip to content

monkberry/monkberry-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: [...]
}