Skip to content

Latest commit

 

History

History
 
 

babel6

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Webpack blocks - Babel 6+

JavaScript Style Guide NPM Version

This is the babel6 block providing Babel (Version 6+) configuration using the babel-loader.

Usage

const { createConfig } = require('@webpack-blocks/webpack')
const babel = require('@webpack-blocks/babel6')

module.exports = createConfig([
  babel(/* options */)
])

Options

exclude (optional)

Regular expression, string or function describing which files/directories to exclude from the babeling. Defaults to /\/node_modules\// regex, like all JS loaders.

Webpack blocks

Check out the

👉 Main Documentation

Released under the terms of the MIT license.