Created
February 7, 2022 09:45
-
-
Save wpflames/f31f453ad7d5a06cc2da1414bd84d839 to your computer and use it in GitHub Desktop.
Webpack basic config
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: './src/index.js', | |
| output: { | |
| path: path.resolve(__dirname, 'build'), | |
| filename: 'bundle.js' | |
| }, | |
| mode: "development" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment