Diskernet/webpack.config.cjs

18 lines
357 B
JavaScript
Raw Normal View History

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