We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e231080 commit 4743f54Copy full SHA for 4743f54
libs/roo-rocket/build.config.ts
@@ -2,13 +2,6 @@ import { defineBuildConfig } from 'unbuild'
2
import sharedConfig from './shared.config'
3
4
export default defineBuildConfig({
5
- entries: [
6
- // Main engine
7
- 'src/index',
8
-
9
- // CLI app
10
- 'src/cli-entry',
11
- ],
12
declaration: 'node16',
13
clean: true,
14
rollup: {
libs/roo-rocket/package.json
@@ -15,8 +15,14 @@
15
"sideEffects": false,
16
"exports": {
17
".": {
18
- "types": "./dist/index.d.mts",
19
- "import": "./dist/index.mjs"
+ "import": {
+ "types": "./dist/index.d.mts",
20
+ "default": "./dist/index.mjs"
21
+ },
22
+ "require": {
23
+ "types": "./dist/index.d.cts",
24
+ "default": "./dist/index.cjs"
25
+ }
26
}
27
},
28
"source": "./src/index.ts",
0 commit comments