1
0
mirror of https://github.com/c9fe/22120.git synced 2024-10-27 06:02:31 +01:00
22120/webpack.config.js
2022-01-05 13:30:21 +08:00

18 lines
357 B
JavaScript

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