Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

feat(build/server): only transpile for node #161

Merged
merged 2 commits into from
May 27, 2020
Merged

Conversation

JAdshead
Copy link
Contributor

Description

Updated to babel-preset-amex@V3.4.0 which included to option to transpile for Node only.
Update build:server to transpile for Node only.

Motivation and Context

Remove unnecessary transpilations for the server build of one-app.

How Has This Been Tested?

Locally served modules, unit and integration tests

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (adding or updating documentation)

Checklist:

  • My change requires a change to the documentation and I have updated the documentation accordingly.
  • These changes should be applied to a maintenance branch.
  • This change requires cross browser checks.
  • Performance tests should be ran against the server prior to merging.
  • This change impacts caching for client browsers.
  • This change impacts HTTP headers.
  • This change adds additional environment variable requirements for One App users.
  • I have added the Apache 2.0 license header to any new files created.

What is the Impact to Developers Using One App?

None

@JAdshead JAdshead requested review from a team as code owners May 27, 2020 19:00
@oneamexbot
Copy link
Contributor

oneamexbot commented May 27, 2020

📊 Bundle Size Report

file name size on disk gzip
app.js 113.2KB 31.7KB
runtime.js 15KB 5.4KB
vendors.js 119.6KB 36.9KB
app~vendors.js 432.4KB 112.2KB
service-worker-client.js 16.9KB 5.2KB
legacy/app.js 122.3KB 33.8KB
legacy/runtime.js 15KB 5.4KB
legacy/vendors.js 166.4KB 45.5KB
legacy/app~vendors.js 441KB 114.4KB
legacy/service-worker-client.js 17.4KB 5.4KB

Generated by 🚫 dangerJS against 8f00836

@JAdshead JAdshead merged commit 48c25cd into master May 27, 2020
@JAdshead JAdshead deleted the feat/build-for-node branch May 27, 2020 20:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants