UNPKG

393 BJavaScriptView Raw
1// Local webpack overrides.
2const path = require('path');
3
4const projectPath = process.cwd();
5
6const packageName = require(path.join(projectPath, '/package.json')).name;
7
8module.exports = {
9
10 // entry point
11 entry: {
12 app: path.resolve(__dirname, 'templates/entry.js'),
13 },
14
15 output: {
16 path: path.resolve(projectPath, 'dist', packageName),
17 filename: '[name].bundle.js',
18 },
19};