Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netlify.toml file with frozen lockfile flag #179

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]

# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
base = "/"

# Directory that contains the deploy-ready HTML files and assets generated by
# the build. This is relative to the base directory if one has been set, or the
# root directory if a base has not been set. This sample publishes the
# directory located at the absolute path "root/project/build-output"
publish = ".vuepress/dist/"

# Default build command.
command = "yarn install --frozen-lockfile; yarn build"
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"all-contributors-cli": "^6.9.1"
},
"resolutions": {
"vuepress/**/chokidar": "^3.4.0",
"vuepress/**/kind-of": "^6.0.3"
"vuepress/**/chokidar": "^3.4.0",
"vuepress/**/kind-of": "^6.0.3",
"vuepress/**/stylus": "^0.54.8"
}
}
Loading