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 CopyWebpackPlugin = require('copy-webpack-plugin'); | |
const path = require('path'); | |
const PATHS = { | |
src: path.join(__dirname, 'src'), //absolute path to RepoDir/src | |
dist: path.join(__dirname, 'dist') //absolute path to RepoDir/dist | |
} | |
module.exports = { | |
entry: { | |
//Webpack will automatically resolve it to RepoDir/src/js/index.js (if file name is not specified) |