R
R
Rooly2022-03-03 11:08:11
JavaScript
Rooly, 2022-03-03 11:08:11

How to use the passed parameter when building into a custom script?

Before building (yarn build) the project, the custom script (script.js)

"build" is run: "node script.js && vue-cli-service build"

I want the yarn build --noversion option to be present when building . In this case, it's just a build without running a custom script. Some more subtle way than declaring a new yarn rule in package.json

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question