UNPKG

reach-test

Version:
27 lines (26 loc) 607 B
const path = require('path'); const webpack = require('webpack'); module.exports = { entry: './lib/index.js', output: { path: path.resolve(__dirname, 'build'), filename: 'index.js', library: 'reach', libraryTarget: 'commonjs2', }, module: { rules: [ { test: /\.js$/, loader: 'babel-loader', query: { presets: ['es2015', 'latest', 'stage-1', 'stage-2'] } } ] }, stats: { colors: true }, devtool: 'source-map' };