UNPKG

godash

Version:

Data structures and utilities to represent the game of Go

28 lines (26 loc) 505 B
const path = require('path'); module.exports = { mode: 'production', entry: './src/index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'godash.js', library: 'godash', libraryTarget: 'umd', globalObject: 'this' }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env'] } } } ] } };