Commit d025673
authored
fix: update build-types filter from rolldown-vite to vite (#342)
### TL;DR
Updated build scripts to use the correct package filter for building types and added a postbuild script to verify output files.
### What changed?
- Changed the package filter in GitHub action from `rolldown-vite` to `vite` for the `build-types` command in three different build configurations
- Added a `postbuild` script to the core package that runs after build completion to list files in the `dist/vite/node` directory
### How to test?
1. Run the build process using the GitHub action to verify that types are correctly built using the `vite` filter
2. Check the build logs to confirm that the `postbuild` script executes and displays the contents of the `dist/vite/node` directory
### Why make this change?
The package filter was incorrectly referencing `rolldown-vite` instead of `vite`, which could cause type generation to fail or target the wrong package. The added postbuild script helps with debugging by providing visibility into the build output files, making it easier to verify that the correct files are being generated.1 parent 8c33047 commit d025673
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
0 commit comments