mirror of
https://github.com/c9fe/22120.git
synced 2024-11-14 23:12:30 +01:00
ce4d15f943
Former-commit-id: c20381bd5f5e4bb7ac633653b06956779ab9e20c
18 lines
347 B
JavaScript
18 lines
347 B
JavaScript
const path = require('path');
|
|
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
entry: "./src/app.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 }),
|
|
]
|
|
};
|