Skip to content

Commit ab3ba29

Browse files
samal-rasmussenjohnnyreilly
authored andcommitted
Add output path to vanilla example webpack config (#994)
1 parent b3fd1bf commit ab3ba29

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/vanilla/webpack.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
'use strict';
2+
const path = require('path');
23

34
module.exports = {
45
devtool: 'inline-source-map',
5-
entry: './src/index.ts',
6+
entry: './src/index.ts',
7+
output: {
8+
filename: 'main.js',
9+
path: path.resolve(__dirname, 'dist')
10+
},
611
module: {
712
rules: [
813
{

0 commit comments

Comments
 (0)