Skip to content

Commit

Permalink
Update Nuxt dev/build outputs in .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyzen committed Apr 19, 2024
1 parent ee99111 commit c9bd1e5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
30 changes: 20 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
node_modules
.nuxt
nuxt.d.ts
# Nuxt dev/build outputs
.output
.env
.env.local
.DS_Store
*.log*
.data
.nuxt
.nitro
.cache
dist
.vscode
# Local Netlify folder
.netlify

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
5 changes: 1 addition & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
NUXT_IMAGE_DOMAINS = "Comma separated list of domains. example.com,example2.com"

[build]
command = "nuxi generate"

[images]
remote_images = ["https://secure.woonuxt.com/.*"]
command = "nuxt generate"
12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
"name": "woonuxt",
"private": true,
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
"generate": "nuxi generate",
"preview": "nuxi preview",
"postinstall": "nuxi prepare",
"lint": "eslint --fix --ext .vue,.ts,.tsx,.js,.mjs .",
"pretty": "prettier --write .",
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"serve": "nuxi generate && npx serve .output/public -l 8080"
},
"dependencies": {
Expand Down

0 comments on commit c9bd1e5

Please sign in to comment.