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:13 UTC
[unomi] 01/01: UNOMI-438 Fix broken GraphQL Playground - Remove
chunking optimization from Webpack configuration - Switch Webpack back to
development mode.
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: [
{