Skip to content

Commit

Permalink
tsup splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
9a8ri3L committed Feb 8, 2024
1 parent c9663e0 commit 1413826
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Publish
on:
push:
branches:
- main
pull_request:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions: {}
jobs:
publish:
permissions:
contents: write
issues: write
pull-requests: write
contents: read

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @g-lib/sizeof

## 1.0.2

### Patch Changes

- tsup splitting

## 1.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@g-lib/sizeof",
"version": "1.0.1",
"version": "1.0.2",
"description": "A utility function that calculates the size or the length of various types.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
3 changes: 2 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ export default defineConfig({
format: ['cjs', 'esm'],
dts: true,
entry: ['index.ts'],
cjsInterop: true
cjsInterop: true,
splitting: true,
})

0 comments on commit 1413826

Please sign in to comment.