mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
23 lines
378 B
JavaScript
23 lines
378 B
JavaScript
var webpack = require('webpack');
|
|
var path = require('path');
|
|
|
|
var config = {
|
|
context: __dirname + '/src/backend',
|
|
|
|
entry: {
|
|
app: './index.js',
|
|
},
|
|
target: 'node',
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'),
|
|
filename: 'backend.js',
|
|
libraryTarget: 'commonjs2',
|
|
},
|
|
|
|
// optimization: {
|
|
// minimize: false,
|
|
// },
|
|
};
|
|
|
|
module.exports = config;
|