File: //proc/1233/cwd/home/arjun/projects/buyercall/node_modules/v-clipboard/webpack.config.js
var path = require("path");
var webpack = require("webpack");
module.exports = {
entry: "./src/index.js",
output: {
path: path.resolve(__dirname, "./dist"),
publicPath: "/dist/",
filename: "index.min.js",
library: "v-clipboard",
libraryTarget: "umd"
},
module: {
rules: [
{
test: /\.js$/,
loader: "babel-loader",
exclude: /node_modules/
}
]
},
performance: {
hints: false
},
devtool: "#source-map",
plugins: [
new webpack.optimize.UglifyJsPlugin({
sourceMap: true
})
]
};