You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For `platform`, tsup defaults to `node` as same as Rslib.
70
-
71
-
If your target platform is `node`, you do not need to configure it.
72
-
73
-
If your target platform is `browser`, you can set `output.target` to `web` in `rslib.config.ts`:
74
-
75
-
```ts title="rslib.config.ts"
76
-
import { defineConfig } from'@rslib/core';
77
-
78
-
exportdefaultdefineConfig({
79
-
output: {
80
-
target: 'web',
81
-
},
82
-
});
83
-
```
84
-
85
67
## Contents Supplement
86
68
87
69
The current document only covers part of the migration process. If you find suitable content to add, feel free to contribute to the documentation via pull request 🤝.
0 commit comments