Skip to content

Commit

Permalink
fix: workaround for #32
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jan 28, 2022
1 parent 5c433eb commit 7b1f284
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions lib/defu.d.ts
@@ -0,0 +1,4 @@
// Workaround for https://github.com/unjs/defu/issues/32
import defu from '../dist/defu'

export default defu
4 changes: 4 additions & 0 deletions lib/defu.mjs
@@ -0,0 +1,4 @@
// Workaround for https://github.com/unjs/defu/issues/32
import defu from '../dist/defu.mjs'

export default defu
11 changes: 6 additions & 5 deletions package.json
@@ -1,20 +1,21 @@
{
"name": "defu",
"version": "5.0.1",
"version": "5.0.2-alpha",
"description": "Recursively assign default properties. Lightweight and Fast!",
"repository": "unjs/defu",
"license": "MIT",
"exports": {
".": {
"require": "./dist/defu.cjs",
"import": "./dist/defu.mjs"
"import": "./lib/defu.mjs"
}
},
"main": "./dist/defu.cjs",
"module": "./dist/defu.mjs",
"types": "./dist/defu.d.ts",
"module": "./lib/defu.mjs",
"types": "./lib/defu.d.ts",
"files": [
"dist"
"dist",
"lib"
],
"scripts": {
"build": "unbuild",
Expand Down

0 comments on commit 7b1f284

Please sign in to comment.