UNPKG

vue-github-activity

Version:
29 lines (26 loc) 608 B
var webpack = require('webpack') var merge = require('webpack-merge') var base = require('./webpack.config.base') var path = require('path') var outputFile = 'vue-github-activity' var globalName = 'VueGithubActivity' module.exports = merge(base, { output: { path: path.resolve(__dirname, '../dist'), filename: outputFile + '.common.js', libraryTarget: 'commonjs2', }, target: 'node', externals: { axios: 'axios', moment: 'moment' }, plugins: [ new webpack.optimize.UglifyJsPlugin({ compress: { warnings: true, }, mangle: false, }), ], })