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: {