mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-14 09:44:21 +01:00
fix: export condition
This commit is contained in:
@@ -5,7 +5,4 @@ export default defineBuildConfig({
|
|||||||
'src/index.ts',
|
'src/index.ts',
|
||||||
],
|
],
|
||||||
declaration: true,
|
declaration: true,
|
||||||
rollup: {
|
|
||||||
emitCJS: true,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -18,8 +18,13 @@
|
|||||||
"rough",
|
"rough",
|
||||||
"sketchy"
|
"sketchy"
|
||||||
],
|
],
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/index.mjs"
|
||||||
|
}
|
||||||
|
},
|
||||||
"main": "dist/index.mjs",
|
"main": "dist/index.mjs",
|
||||||
"module": "dist/index.cjs",
|
"module": "dist/index.mjs",
|
||||||
"types": "dist/index.d.mts",
|
"types": "dist/index.d.mts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
@@ -36,7 +41,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@antfu/eslint-config": "^2.6.4",
|
"@antfu/eslint-config": "^2.6.4",
|
||||||
"bumpp": "^9.3.0",
|
"bumpp": "^9.3.0",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^8.57.0",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"unbuild": "^2.0.0"
|
"unbuild": "^2.0.0"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user