Allow to pass distDir
and buildCommand
to framer-plugin-tools
package
#90
Labels
bug
Something isn't working
distDir
and buildCommand
to framer-plugin-tools
package
#90
Describe the bug
We are creating a Plugin inside a NX mono-repo, where the folder structure is something like this
The problem is that the package framer-plugin-tools you recomend to package the compiled files into a ZIP is not receiving any parameters and in our case we should be able to modify
distDir: The default distDir ir
const distPath = path.join(process.cwd(), "dist")
but in our project the distDir should bedist/my-plugin/
buildCommand: the default build command is
const buildProcess = exec("npm run build")
but in our project is reserved to compile all projects, so we should be able to passnpm run build:my-plugin
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: