aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2022-01-02 18:23:36 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2022-01-02 18:23:36 +0000
commite075667cd2dc878dd9dceb07c85719f6712bcda1 (patch)
tree414e76418d92a39c59b1f5faf08289c0a729ddb4 /webpack.config.js
parent7ad1b7efabea1349107669a432e6c88305f8d825 (diff)
downloadjs-raytracer-e075667cd2dc878dd9dceb07c85719f6712bcda1.tar.xz
js-raytracer-e075667cd2dc878dd9dceb07c85719f6712bcda1.zip
Implement multi-threaded rendering
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 339cb72..cb93ec9 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -29,4 +29,14 @@ module.exports = {
],
}),
],
+ devServer: {
+ static: {
+ directory: path.join(__dirname, 'dist'),
+ },
+ compress: true,
+ port: 9000,
+ client: {
+ overlay: false,
+ },
+ },
};