| Current Path : /var/www/html/dynaweb.blunetdev.com/node_modules/vuesax/build/styles/ |
| Current File : /var/www/html/dynaweb.blunetdev.com/node_modules/vuesax/build/styles/webpack.styles.js |
const path = require('path')
const baseWebpackConfig = require('../webpack.base.js')
const merge = require('webpack-merge')
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
module.exports = merge(baseWebpackConfig, {
entry: {
'base': './src/styles/index.ts',
'base.min': './src/styles/index.ts',
},
output: {
filename: '[name].js',
path: path.resolve(process.cwd(), 'dist'),
publicPath: '/dist/',
library: 'Vuesax',
libraryTarget: 'umd',
libraryExport: 'default',
umdNamedDefine: true,
globalObject: 'typeof self !== \'undefined\' ? self : this'
},
plugins:[
new MiniCssExtractPlugin({
filename: '[name].css',
})
]
})