Skip to content

Commit

Permalink
Fix regressions in webpack configs
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin committed Mar 8, 2019
1 parent 8e31db5 commit 2d26205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions webpack.web-build.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const path = require('path')
const path = require('path');

module.exports = {
devtool: 'source-map',
Expand All @@ -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'
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.web.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
filename: 'index.js',
path: path.join(__dirname, 'web', '__build__'),
publicPath: path.join(__dirname, '__build__')
publicPath: '/__build__/'
},

module: {
Expand Down

0 comments on commit 2d26205

Please sign in to comment.