mirror of https://github.com/xtekky/gpt4free.git
20 lines
372 B
JavaScript
20 lines
372 B
JavaScript
|
const path = require('path');
|
||
|
const webpack = require('webpack');
|
||
|
|
||
|
module.exports = {
|
||
|
mode: 'production',
|
||
|
entry: {
|
||
|
server: './index.js',
|
||
|
},
|
||
|
output: {
|
||
|
path: path.join(__dirname, 'build'),
|
||
|
filename: 'index.js'
|
||
|
},
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
exclude: /node_modules/
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
};
|