From 2d262050f215a5370138a2202a56657e8a8662d4 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Fri, 8 Mar 2019 12:51:13 -0500 Subject: [PATCH] Fix regressions in webpack configs --- webpack.web-build.js | 4 ++-- webpack.web.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack.web-build.js b/webpack.web-build.js index e2793275..c0726648 100644 --- a/webpack.web-build.js +++ b/webpack.web-build.js @@ -1,4 +1,4 @@ -const path = require('path') +const path = require('path'); module.exports = { devtool: 'source-map', @@ -7,7 +7,7 @@ module.exports = { mode: 'production', output: { filename: 'index.js', - path: path.join(__dirname, 'web-dist', '__build__'), + path: path.join(__dirname, 'web-dist'), library: 'PDFAnnotate', libraryTarget: 'umd' }, diff --git a/webpack.web.js b/webpack.web.js index ea1a5235..f043fbda 100644 --- a/webpack.web.js +++ b/webpack.web.js @@ -7,7 +7,7 @@ module.exports = { output: { filename: 'index.js', path: path.join(__dirname, 'web', '__build__'), - publicPath: path.join(__dirname, '__build__') + publicPath: '/__build__/' }, module: {