mirror of
https://github.com/knex/knex.git
synced 2025-07-07 09:01:19 +00:00
30 lines
421 B
JavaScript
30 lines
421 B
JavaScript
var webpack = require('webpack');
|
|
var plugins = []
|
|
|
|
var externals = [{
|
|
"bluebird": {
|
|
root: "Promise",
|
|
commonjs2: "bluebird",
|
|
commonjs: "bluebird",
|
|
amd: "bluebird"
|
|
},
|
|
"lodash": {
|
|
root: "_",
|
|
commonjs2: "lodash",
|
|
commonjs: "lodash",
|
|
amd: "lodash"
|
|
}
|
|
}]
|
|
|
|
module.exports = {
|
|
|
|
output: {
|
|
library: 'Knex',
|
|
libraryTarget: 'umd'
|
|
},
|
|
|
|
externals: externals,
|
|
|
|
plugins: plugins
|
|
|
|
}; |