Diskernet/webpack.config.cjs

21 lines
400 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"
},
2023-01-11 03:36:17 +00:00
optimization: {
minimize: false
},
2021-11-03 04:51:04 +00:00
target: "node",
node: {
__dirname: false
},
plugins: [
new webpack.BannerPlugin({ banner: "#!/usr/bin/env node", raw: true }),
]
};