oportunidades 8
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-14 08:25:30 +02:00
parent 287e991486
commit ba1c0340ea
9112 changed files with 2199795 additions and 856 deletions
@@ -0,0 +1,28 @@
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()
]
}