Skip to content

Releases: TryKickoff/react-components

v1.0.5

Choose a tag to compare

@jpdriver jpdriver released this 08 Oct 15:30

Production Bundle Sizes

Format Size
CJS 6.39 KB (2.01 KB Gzipped)
UMD 5.56 KB (1.88 KB Gzipped)
ESM 5.78 KB (1.88 KB Gzipped)

Rollup changes

We no longer include a .mjs file in our compiled distribution. Following the pattern React uses, we now include CommonJS, UMD, and ES Module files in separate directories. All have a .js extension.

This means the dist folder structure that gets generated on build now uses the following pattern:

Previous
dist/kickoff-react-components.js
dist/kickoff-react-components.mjs
New
dist/cjs/kickoff-react-components
dist/esm/kickoff-react-components
dist/esm/kickoff-react-components

Additionally, the files will now alter their names based on whether they were built in Development or Production, and whether or not they are minified.

dist/cjs/kickoff-react-components.development.js
dist/cjs/kickoff-react-components.production.min.js

Other notable changes

  • swapped Standard for Prettier
  • added precommit to run Prettier when staging modified files
  • both Development and minified Production builds are included for each format
  • Gzips are included in Production builds
  • Filesizes are displayed when building

v1.0.1

Choose a tag to compare

@jpdriver jpdriver released this 22 May 13:27
  • changes the export variable so that components can be imported by name
  • this now works for either the .js or .mjs build artefacts:
import { Grid } from @kickoff/react-components

React Components

Choose a tag to compare

@jpdriver jpdriver released this 22 May 12:57

This is the initial publish of Kickoff React Components on NPM.

You can install it using

npm install @kickoff/react-components