This is an automated email from the ASF dual-hosted git repository.
taybou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/master by this push:
new f6c4297 UNOMI-438 Fix broken GraphQL Playground (#253)
f6c4297 is described below
commit f6c4297f9fc93013c84ceaadd44a6b56e1d8ca55
Author: Serge Huber <[email protected]>
AuthorDate: Mon Feb 22 11:39:08 2021 +0100
UNOMI-438 Fix broken GraphQL Playground (#253)
- Remove chunking optimization from Webpack configuration
- Switch Webpack back to development mode.
---
graphql/graphql-playground/pom.xml | 2 +-
graphql/graphql-playground/webpack.config.js | 6 ------
2 files changed, 1 insertion(+), 7 deletions(-)
diff --git a/graphql/graphql-playground/pom.xml
b/graphql/graphql-playground/pom.xml
index 12edba1..2a28c3b 100644
--- a/graphql/graphql-playground/pom.xml
+++ b/graphql/graphql-playground/pom.xml
@@ -30,7 +30,7 @@
<packaging>bundle</packaging>
<properties>
- <yarn.arguments>build:production</yarn.arguments>
+ <yarn.arguments>build</yarn.arguments>
</properties>
<dependencies>
diff --git a/graphql/graphql-playground/webpack.config.js
b/graphql/graphql-playground/webpack.config.js
index 54eea78..d3e2697 100644
--- a/graphql/graphql-playground/webpack.config.js
+++ b/graphql/graphql-playground/webpack.config.js
@@ -23,16 +23,10 @@ module.exports = (env, argv) => {
output: {
path: path.resolve(__dirname, 'target/javascript'),
filename: 'unomi-graphql-playground.js',
- chunkFilename: '[name].[chunkhash:6].js'
},
resolve: {
extensions: ['*', '.js', '.jsx']
},
- optimization: {
- splitChunks: {
- maxSize: 400000
- }
- },
module: {
rules: [
{