From bce212a55f8756e0410f0b1f90f8c28e95d1d7ae Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 6 Sep 2017 12:56:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Add=20pathinfo=20option=20to=20w?= =?UTF-8?q?ebpack=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.config.base.js | 1 + build/webpack.config.browser.js | 1 + 2 files changed, 2 insertions(+) diff --git a/build/webpack.config.base.js b/build/webpack.config.base.js index 9643fb9..bd04473 100644 --- a/build/webpack.config.base.js +++ b/build/webpack.config.base.js @@ -24,6 +24,7 @@ const plugins = [ module.exports = { output: { + pathinfo: true, path: resolve(__dirname, '../dist'), filename: `${filename}.common.js`, }, diff --git a/build/webpack.config.browser.js b/build/webpack.config.browser.js index 98c723f..bd088fa 100644 --- a/build/webpack.config.browser.js +++ b/build/webpack.config.browser.js @@ -10,6 +10,7 @@ const { module.exports = merge(base, { output: { + pathinfo: false, filename: `${filename}.js`, library: moduleName, libraryTarget: 'umd',