10 lines
255 B
JavaScript
10 lines
255 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: "./src/index.js", // bundle's entry point
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'), // output directory
|
|
filename: 'bundle.js' // name of the generated bundle
|
|
}
|
|
};
|