Added netlify.toml to override build command (#90)
This commit is contained in:
parent
bb531dad64
commit
a0c556f64a
|
@ -40,7 +40,7 @@ A starter kit for using [Tailwind](https://tailwindcss.com) with [Jekyll](https:
|
|||
## Deploy
|
||||
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/taylorbryant/jekyll-starter-tailwind)
|
||||
|
||||
Note: By default, Netlify uses `jekyll build` as the build command. Make sure to change this to `npm run build` or `npm run build:production`.
|
||||
Note: By default, Netlify uses `jekyll build` as the build command. The included `netlify.toml` file will override it to use `npm run build`.
|
||||
|
||||
## License
|
||||
[MIT](https://github.com/taylorbryant/jekyll-starter-tailwind/blob/master/LICENSE.md)
|
||||
|
|
|
@ -12,3 +12,4 @@ exclude:
|
|||
- README.md
|
||||
- src
|
||||
- tailwind.config.js
|
||||
- netlify.toml
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
[build]
|
||||
command = "npm run build"
|
||||
publish = "_site/"
|
Loading…
Reference in New Issue