Initial Commit

This commit is contained in:
2020-07-08 15:37:09 +02:00
commit 549ecd137f
1746 changed files with 292109 additions and 0 deletions

24
node_modules/mongoose/webpack.config.js generated vendored Normal file
View File

@@ -0,0 +1,24 @@
'use strict';
const paths = require('path');
const base = require('./webpack.base.config.js');
const webpackConfig = Object.assign({}, base, {
entry: require.resolve('./browser.js'),
output: {
filename: './dist/browser.umd.js',
path: paths.resolve(__dirname, ''),
library: 'mongoose',
libraryTarget: 'umd',
// override default 'window' globalObject so browser build will work in SSR environments
// may become unnecessary in webpack 5
globalObject: 'typeof self !== \'undefined\' ? self : this'
},
externals: [
/^node_modules\/.+$/
]
});
module.exports = webpackConfig;