touch-ripple
Version:
36 lines (34 loc) • 674 B
JavaScript
var path = require('path');
var webpack = require('webpack')
var libraryName = 'TouchRipple'
module.exports = {
entry: "./src/main.js",
output: {
path: __dirname,
filename: "dist/touch-ripple.js",
library: libraryName,
libraryTarget: 'umd',
umdNamedDefine: true
},
module: {
loaders: [
{
test: /\.js$/,
loader: 'babel-loader',
query: {
presets: ['es2015']
}
}
]
},
plugins: [
// new webpack.optimize.UglifyJsPlugin({
// output: {
// comments: false, // remove all comments
// },
// compress: {
// warnings: false
// }
// })
]
}