Created
February 14, 2019 06:53
-
-
Save bbachi/2dccbd89899a1c369ff688b8f653ecc9 to your computer and use it in GitHub Desktop.
How to write production ready Node.js Rest API - Javascript version - webpack
This file contains hidden or 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 path = require('path'); | |
| module.exports = { | |
| entry: './index.js', | |
| output: { | |
| path: path.resolve(__dirname, 'dist'), | |
| filename: 'api.bundle.js' | |
| }, | |
| target: 'node' | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment