From d6cec7ad402e17d00f61066db8c5f7bb58f1ea2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A1mal=20Rasmussen?= <> Date: Tue, 3 Sep 2019 11:44:05 +0100 Subject: [PATCH] Add output path to vanilla example webpack config --- 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: [ {