Skip to content

Commit

Permalink
fix: enable legacy exports
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Aug 7, 2024
1 parent 0965719 commit b88e02c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import {visualizer} from 'rollup-plugin-visualizer'
import {name, version} from './package.json'

export default defineConfig({
legacyExports: true,

extract: {
rules: {
'tsdoc-undefined-tag': 'off',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sideEffects": false,
"type": "module",
"types": "./dist/index.d.ts",
"module": "./dist/index.js",
"module": "./dist/index.esm.js",
"main": "./dist/index.cjs",
"exports": {
".": {
Expand Down
2 changes: 2 additions & 0 deletions stream.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// AUTO-GENERATED – DO NOT EDIT
export * from './dist/stream.esm'

0 comments on commit b88e02c

Please sign in to comment.