I want to use TypeScript and LESS transpilers in my Salesforce DX projects. Unfortunately, when I try to push with
.ts files anywhere in my project source folder, it fails with the following error.
sfdx force:source:push ERROR: Unexpected file found in package directory: e:\SalesforceGit\DxProjects\jobOrderWorkflow\main\aura\visualization\visualization.less. sfdx force:source:push ended with exit code 1
I assume I could go all the way to the root and create a parallel project with a mirrored directory tree, and transpile across to the sibling, but the thought of maintaining identical folders isn't pleasant.
I also thought of transpiling and copying everything automatically, into a folder that is actually used for for
push. The problem with that is it would defeat the ability to
pull layouts, and therefore to use the web-based visual layout editing.