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" ... } ... }
548k questions
547k answers
4 comments
86.3k users