diff options
author | Fred Carlsen <fred@sjelfull.no> | 2018-11-27 22:40:37 +0800 |
---|---|---|
committer | Fred Carlsen <fred@sjelfull.no> | 2018-11-27 22:40:37 +0800 |
commit | ec12e46e3f52ebb44338c113cecd073979821fae (patch) | |
tree | f3a27cdb9586498925a803ea5bee6cb140ddf01a /packages/website/webpack.config.js | |
parent | 15f05733be45e05974972c80c4fa8437a62633e2 (diff) | |
download | dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.gz dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.bz2 dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.lz dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.xz dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.tar.zst dexon-sol-tools-ec12e46e3f52ebb44338c113cecd073979821fae.zip |
Add fix for assertion error to devserver config
Diffstat (limited to 'packages/website/webpack.config.js')
-rw-r--r-- | packages/website/webpack.config.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/website/webpack.config.js b/packages/website/webpack.config.js index 33d5f648b..b01f6ef2c 100644 --- a/packages/website/webpack.config.js +++ b/packages/website/webpack.config.js @@ -85,6 +85,13 @@ const config = { ], }, disableHostCheck: true, + // Fixes assertion error + // Source: https://github.com/webpack/webpack-dev-server/issues/1491 + https: { + spdy: { + protocols: ['http/1.1'] + } + }, }, }; |