As the title says, is there a way to build for deployment in Nuxt while ignoring any uncommitted changes?
As per phd's suggestion this is the build script in package.json:
package.json
{ ... "scripts": { ... "build": "git stash -u; nuxt build; git stash pop" ... } ... }
2.1m questions
2.1m answers
60 comments
57.0k users