Created
February 19, 2020 16:31
-
-
Save njbmartin/a041a4fcde12e88caf40d687b9b0a542 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
const path = require('path') | |
const NodemonPlugin = require('nodemon-webpack-plugin') | |
module.exports = { | |
entry: './src/index.js', | |
output: { | |
filename: 'main.js', | |
path: path.resolve(__dirname, 'dist') | |
}, | |
target: 'node', | |
plugins: [ | |
new NodemonPlugin() | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment