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

[FRONT-117] Remove cjs build #2809

Merged
merged 4 commits into from
Nov 29, 2023
Merged

[FRONT-117] Remove cjs build #2809

merged 4 commits into from
Nov 29, 2023

Conversation

lowiebenoot
Copy link
Collaborator

@lowiebenoot lowiebenoot commented Nov 28, 2023

Description

Removed our common js build, as we don't use it anyway and only use esmodules.
So instead of having 2 builds in a es and cjs directory, the es build is now in the dist folder together with the types.

Breaking changes

  • The CommonJS build has been removed. We now only have an ES Modules build.
  • The ES Modules build has been moved to the dist folder, so you now need update the css import to @teamleader/ui/dist/index.css

@lowiebenoot lowiebenoot merged commit 572ceb0 into next-release Nov 29, 2023
10 checks passed
@lowiebenoot lowiebenoot deleted the remove-cjs-build branch November 29, 2023 05:41
lowiebenoot added a commit that referenced this pull request Nov 30, 2023
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