You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2021/02/19 13:43:12 UTC

[unomi] branch UNOMI-438-fix-graphql-playground created (now 69d894e)

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

shuber pushed a change to branch UNOMI-438-fix-graphql-playground
in repository https://gitbox.apache.org/repos/asf/unomi.git.


      at 69d894e  UNOMI-438 Fix broken GraphQL Playground - Remove chunking optimization from Webpack configuration - Switch Webpack back to development mode.

This branch includes the following new commits:

     new 69d894e  UNOMI-438 Fix broken GraphQL Playground - Remove chunking optimization from Webpack configuration - Switch Webpack back to development mode.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[unomi] 01/01: UNOMI-438 Fix broken GraphQL Playground - Remove chunking optimization from Webpack configuration - Switch Webpack back to development mode.

Posted by sh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

shuber pushed a commit to branch UNOMI-438-fix-graphql-playground
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit 69d894e7b064ece28a2411bc6d611a7ace064233
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Fri Feb 19 14:43:00 2021 +0100

    UNOMI-438 Fix broken GraphQL Playground
    - 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: [
                 {