Diskernet/webpack.config.js

18 lines
334 B
JavaScript
Raw Normal View History

2021-11-03 04:51:04 +00:00
const path = require('path');
const webpack = require('webpack');
module.exports = {
entry: "./app.js",
output: {
path: path.resolve(__dirname),
filename: "22120.js"
},
target: "node",
node: {
__dirname: false
},
plugins: [
new webpack.BannerPlugin({ banner: "#!/usr/bin/env node", raw: true }),
]
};