You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ge...@apache.org on 2020/03/29 14:38:50 UTC

[incubator-annotator] branch master updated: Add forgotten webpack config line

This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e6e613  Add forgotten webpack config line
8e6e613 is described below

commit 8e6e613fb44dac1c0b7457dd0226f4876547ff79
Author: Gerben <ge...@treora.com>
AuthorDate: Sun Mar 29 16:35:21 2020 +0200

    Add forgotten webpack config line
    
    To avoid discrepancies, we should not host content that is not in the
    build output either.
---
 web/webpack.config.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/web/webpack.config.js b/web/webpack.config.js
index 8b19b11..8ffa4fc 100644
--- a/web/webpack.config.js
+++ b/web/webpack.config.js
@@ -62,4 +62,7 @@ module.exports = {
     path: path.resolve(__dirname, 'dist'),
     filename: '[name]/index.js',
   },
+  devServer: {
+    contentBase: false,
+  },
 };