Skip to content

Commit

Permalink
Move to tsup and remove named exports (#51)
Browse files Browse the repository at this point in the history
* Move to tsup and remove named exports

* Move tsup to devDependencies

* Update entry

* Update entry

* Simplify script
  • Loading branch information
compulim authored May 30, 2024
1 parent b58de2c commit ccc05a0
Show file tree
Hide file tree
Showing 12 changed files with 1,415 additions and 444 deletions.
2 changes: 0 additions & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ body:
multiple: true
options:
- 'ESM: import { useRefFrom } from "use-ref-from"'
- 'ESM: import useRefFrom from "use-ref-from/useRefFrom"'
- 'CommonJS: require("use-ref-from")'
- 'CommonJS: require("use-ref-from/useRefFrom")'
- Others or unrelated
validations:
required: true
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Breaking changes

- Removed named exports, please import the defaults instead
- Use `import { useRefFrom } from 'use-ref-from'` instead
- Moved build tools from Babel to tsup/esbuild

## [0.1.0] - 2024-04-01

### Changed
Expand Down
Loading

0 comments on commit ccc05a0

Please sign in to comment.