liferay/liferay-frontend-projects

npm-scripts breaks vite file

allen-ziegenfus opened this issue · 3 comments

I am having a problem with the lint fixing part of npm scripts. We are working on a project with vite and it changes this vite-env.d.ts in such a way that it no longer builds:

/// <reference types="vite/client" />

it changes that to:

// / <reference types="vite/client" />

@allen-ziegenfus is there an example in portal we can test against? Or do we need to just add that fie ourselves to test?

Thanks! I created an LPS to track this so that it can be added to a sprint of ours, https://issues.liferay.com/browse/LPS-176124