Skip to content

Commit

Permalink
chore: disable invasive webpack warning overlay in the browser
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcamargo committed Jul 27, 2022
1 parent a5a8938 commit c75185d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/cli/services/docs-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ function serve(server, onSuccess){
function buildServerConfig(directory){
return {
static: { directory },
client: { overlay: false },
host: '0.0.0.0',
compress: true,
port: getServerPort(),
Expand Down
5 changes: 2 additions & 3 deletions src/cli/services/docs-generator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ describe('Docs Generator Service', () => {
hot: false,
host: '0.0.0.0',
port: 7000,
static: {
directory: '/client/pitsby'
}
static: { directory: '/client/pitsby' },
client: { overlay: false }
}, compilerObjectMock);
});

Expand Down

0 comments on commit c75185d

Please sign in to comment.