forked from olcxjas-softworks/LarpixClient
Add capacitorjs runtime
This commit is contained in:
parent
d0ece489ee
commit
f90c0e6c40
8362 changed files with 1502407 additions and 1 deletions
28
node_modules/xml-js/webpack.config.js
generated
vendored
Normal file
28
node_modules/xml-js/webpack.config.js
generated
vendored
Normal file
|
|
@ -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()
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue