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
When vite-tsconfig-paths is not used, this plugin works as described and cancels the build if it finds an issue (eslint issue in the example).
yarn run v1.22.19
$ vite build
vite v4.4.9 building for production...
/home/pksunkara/Coding/automa/advisory/packages/fullstack/assets/index.ts
4:1 error Delete `⏎` prettier/prettier
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
But when vite-tsconfig-paths is used, the files are still built even though the issue wasn't fixed.
yarn run v1.22.19
$ vite build
vite v4.4.9 building for production...
✓ 8 modules transformed.
dist/asset-manifest.json 0.84 kB │ gzip: 0.24 kB
dist/assets/index-c47d2b75.css 7.45 kB │ gzip: 2.22 kB
dist/assets/index-3cfb730f.js 0.71 kB │ gzip: 0.40 kB
✓ built in 399ms
/home/pksunkara/Coding/automa/advisory/packages/fullstack/assets/index.ts
4:1 error Delete `⏎` prettier/prettier
✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the `--fix` option.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Describe the bug
When
vite-tsconfig-paths
is not used, this plugin works as described and cancels the build if it finds an issue (eslint issue in the example).But when
vite-tsconfig-paths
is used, the files are still built even though the issue wasn't fixed.Reproduction
In
vite.config.ts
:Expected behavior
Assets should not be built even when
vite-tsconfig-paths
is usedSystem Info
Additional context
I would have made a fix myself but I don't have enough context on what's causing this. 😞
Validations
The text was updated successfully, but these errors were encountered: