UNPKG

vue-bootstrap-table2

Version:

A sortable and searchable vue table, as a Vue component, using bootstrap styling.

24 lines (19 loc) 516 B
var config = require('./webpack.build.js') var webpack = require('webpack') config.output.filename = config.output.filename.replace(/\.js$/, '.min.js') delete config.devtool config.plugins = [ new webpack.DefinePlugin({ 'process.env': { NODE_ENV: '"production"' } }), new webpack.optimize.UglifyJsPlugin({ sourceMap: false, compress: { warnings: false } }), new webpack.optimize.OccurenceOrderPlugin() ] module.exports = config