Skip to content

Instantly share code, notes, and snippets.

@shirk3y
Created January 21, 2020 19:01
Show Gist options
  • Save shirk3y/87be4919de69da8364197495c076fdf2 to your computer and use it in GitHub Desktop.
Save shirk3y/87be4919de69da8364197495c076fdf2 to your computer and use it in GitHub Desktop.
{
"name": "nodeapp",
"main": "server.js",
"scripts": {
"build": "webpack-cli"
},
"dependencies": {
"express": "^4.17.1",
"webpack": "^4.41.5"
}
}
const e = require("express");
console.log(e);
module.exports = {
entry: "./server.js",
output: {
filename: "bundle.js"
},
target: "node"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment