From 4edd5d2f29017d8447562a7ef4ca7f7091fb15aa Mon Sep 17 00:00:00 2001 From: Roland Schlaefli Date: Sat, 18 Apr 2020 21:25:11 +0200 Subject: [PATCH] Fix: Remove bundlesize for Node 12 support --- .travis.yml | 6 ------ package.json | 13 ------------- 2 files changed, 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7adf62f01f..e9f8ed6f0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,12 +31,6 @@ jobs: script: - npm run format:ci - # calculate the bundle size - - <<: *test-setup - script: - - npm run build - - npm run bundlesize - # ensure that the types are valid - <<: *test-setup script: diff --git a/package.json b/package.json index 47888c8ad4..54f63454e6 100644 --- a/package.json +++ b/package.json @@ -133,7 +133,6 @@ "@graphql-codegen/cli": "1.13.2", "@graphql-codegen/fragment-matcher": "1.13.2", "@testing-library/react": "10.0.2", - "bundlesize": "0.18.0", "enzyme": "3.11.0", "eslint": "6.8.0", "eslint-config-airbnb": "18.1.0", @@ -161,7 +160,6 @@ "build": "next build", "build:lang": "next build && node ./src/lib/defaultLang", "build:semantic": "cd src/lib/semantic && gulp build-css build-assets", - "bundlesize": "bundlesize", "compile-queries": "persistgraphql src/graphql/ --add_typename", "cypress:open": "cypress open", "dev": "cross-env NODE_ENV=development nodemon -w .env -w package.json -w server.js -w src/klicker.conf.js server.js", @@ -210,17 +208,6 @@ "prettier --write" ] }, - "bundlesize": [ - { - "path": "./.next/static/chunks/commons.*.js" - }, - { - "path": "./.next/static/css/commons.*.css" - }, - { - "path": "./.next/static/runtime/main-*.js" - } - ], "husky": { "hooks": { "pre-commit": "lint-staged",