UNPKG

migme-beachball

Version:
52 lines (43 loc) 754 B
var webpack = require('webpack') var path = require('path') module.exports = { entry: './src/index', output: { path: path.join(__dirname, 'lib'), library: 'MIGME', libraryTarget: 'umd' }, resolve: { extensions: ['', '.js'] }, module: { loaders: [ { test: /\.js$/, exclude: /node_modules/, loader: 'babel' }, { test: /\.json$/, loader: 'json' } ] }, node: { fs: 'empty' }, plugins: [ new webpack.optimize.OccurenceOrderPlugin(), new webpack.optimize.UglifyJsPlugin({ compressor: { warnings: false, screw_ie8: true } }) ], stats: { colors: true, reasons: true }, progress: true }