mirror of
https://github.com/knex/knex.git
synced 2025-07-05 08:01:09 +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
|
||
|
|
||
|
};
|