UNPKG

vue-bulma-components

Version:

Quickly Translate Bulma css in to vue components

31 lines (27 loc) 709 B
var webpack = require('webpack'); var path = require('path'); var merge = require('webpack-merge') var baseWebpackConfig = require('./webpack.base.conf') var libraryName = 'vue-bulma-components'; var outputFile = libraryName + '.js'; var config = merge(baseWebpackConfig,{ entry: path.resolve(__dirname, '../src/plugin/plugin.js'), devtool: 'source-map', output: { path: path.resolve(__dirname, '../lib'), filename: outputFile, library: libraryName, libraryTarget: 'umd', umdNamedDefine: true }, performance: { hints: false }, devtool: '#source-map', plugins: [ new webpack.optimize.UglifyJsPlugin({ sourceMap: true }) ] }); module.exports = config;