'use strict'; module.exports = { module: { rules: [ { test: /\.js$/, loaders: ['babel-loader'], exclude: /node_modules/ }, ], }, output: { library: 'd3-state-visualizer', libraryExport: 'default', libraryTarget: 'umd', }, resolve: { extensions: ['.js'], }, };