tahamajs's picture
download
raw
653 Bytes
const path = require('path');
const webpack = require('webpack');
const UnminifiedWebpackPlugin = require('unminified-webpack-plugin');
module.exports = {
entry: {
'dist': './lib/index.js',
'doc': './lib/index.js'
},
output: {
path: path.resolve(__dirname, '.'),
filename: '[name]/xml-js.min.js',
libraryTarget: 'window',
// library: 'xmljs' // don't specify this
},
// module: {
// rules: [
// {
// test: /\.(js)$/,
// use: 'babel-loader'
// }
// ]
// },
plugins: [
new webpack.optimize.UglifyJsPlugin(),
new UnminifiedWebpackPlugin()
]
}

Xet Storage Details

Size:
653 Bytes
·
Xet hash:
0dbbfea819f46f40b2c149894f01f748ba89521ec2519a0356ca255a6caa6638

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.