From ab3ba29f2abdbec0faeca3a200a8c62357a0273b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1mal=20Rasmussen?= Date: Tue, 3 Sep 2019 15:24:25 +0100 Subject: [PATCH] Add output path to vanilla example webpack config (#994) --- examples/vanilla/webpack.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/vanilla/webpack.config.js b/examples/vanilla/webpack.config.js index 456a28f12..98148c3e6 100644 --- a/examples/vanilla/webpack.config.js +++ b/examples/vanilla/webpack.config.js @@ -1,8 +1,13 @@ 'use strict'; +const path = require('path'); module.exports = { devtool: 'inline-source-map', - entry: './src/index.ts', + entry: './src/index.ts', + output: { + filename: 'main.js', + path: path.resolve(__dirname, 'dist') + }, module: { rules: [ {