Created
January 21, 2020 19:01
-
-
Save shirk3y/87be4919de69da8364197495c076fdf2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "nodeapp", | |
"main": "server.js", | |
"scripts": { | |
"build": "webpack-cli" | |
}, | |
"dependencies": { | |
"express": "^4.17.1", | |
"webpack": "^4.41.5" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const e = require("express"); | |
console.log(e); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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