Skip to content

Commit 2d26205

Browse files
committed
Fix regressions in webpack configs
1 parent 8e31db5 commit 2d26205

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

webpack.web-build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const path = require('path')
1+
const path = require('path');
22

33
module.exports = {
44
devtool: 'source-map',
@@ -7,7 +7,7 @@ module.exports = {
77
mode: 'production',
88
output: {
99
filename: 'index.js',
10-
path: path.join(__dirname, 'web-dist', '__build__'),
10+
path: path.join(__dirname, 'web-dist'),
1111
library: 'PDFAnnotate',
1212
libraryTarget: 'umd'
1313
},

webpack.web.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
output: {
88
filename: 'index.js',
99
path: path.join(__dirname, 'web', '__build__'),
10-
publicPath: path.join(__dirname, '__build__')
10+
publicPath: '/__build__/'
1111
},
1212

1313
module: {

0 commit comments

Comments
 (0)