This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Transforming const to the configured target environment #82
Labels
bug: pending triage
Something doesn't seem to be working, but hasn't been verified
bundle update vite_ruby
.Description 📖
When running
bin/vite build
on this repository, I get the following error that I can't trace back to the root of the issue:For some reason
esbuild
is trying to parse thetsconfig.json
andvite.config.ts
file.Reproduction 🐞
cd
intoprojects/app
.bundle install && yarn install
.bin/vite build
Vite Ruby Info
``` Running via Spring preloader in process 56570 bin/vite present?: true vite_ruby: 1.2.11 vite_rails: 2.0.11 rails: 6.1.3.2 node: v16.0.0 npm: 7.10.0 yarn: 1.22.10 pnpm: ruby: ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-darwin20]installed packages:
buildify-app@ /Users/pepibumur/src/github.com/craftweg/buildify/projects/app
├─┬ @vitejs/plugin-legacy@1.4.1
│ └── vite@2.3.5 deduped
├─┬ vite-plugin-bugsnag@1.0.2
│ └── vite@2.3.5 deduped
├─┬ vite-plugin-ruby@2.0.4
│ └── vite@2.3.5 deduped
└── vite@2.3.5
The text was updated successfully, but these errors were encountered: