Skip to content

Commit 660aefb

Browse files
Merge pull request #108 from elf-pavlik/popup-debugging
adjusted webpack.popup.config.js for better debugging
2 parents f9ac64c + 06ba873 commit 660aefb

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ You can test how `solid-auth-client` operates within an app by running the demo
201201
#### Running the demo development server
202202

203203
```sh
204-
$ POPUP_URI='http://localhost:8081/popup-template.html' npm run start:demo
204+
$ POPUP_URI='http://localhost:8606/popup-template.html' npm run start:demo
205205
```
206206

207207
#### Running the popup development server

webpack/webpack.popup.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const {
1010
context,
1111
mode,
1212
module: _module,
13-
externals
13+
externals,
14+
devtool
1415
} = require('./webpack.common.config')
1516

1617
const outputDir = './dist-popup'
@@ -45,7 +46,9 @@ module.exports = {
4546
}),
4647
new HtmlWebpackInlineSourcePlugin()
4748
],
49+
devtool,
4850
devServer: {
49-
contentBase: path.join(__dirname, 'dist')
51+
contentBase: outputDir,
52+
port: 8606
5053
}
5154
}

0 commit comments

Comments
 (0)