This is the babel6
block providing Babel (Version 6+) configuration using the babel-loader.
const { createConfig } = require('@webpack-blocks/webpack')
const babel = require('@webpack-blocks/babel6')
module.exports = createConfig([
babel(/* options */)
])
Regular expression, string or function describing which files/directories to exclude from the babeling. Defaults to /\/node_modules\//
regex, like all JS loaders.
Check out the
Released under the terms of the MIT license.