Add Tailwind JIT functionality, remove redundant config and files
This commit is contained in:
parent
1138b38b7d
commit
8c878268e4
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,4 +11,3 @@ Gemfile.lock
|
||||
|
||||
# JavaScript
|
||||
node_modules
|
||||
package-lock.json
|
||||
@ -8,6 +8,9 @@ plugins:
|
||||
sass:
|
||||
sourcemap: never
|
||||
|
||||
postcss:
|
||||
cache: false
|
||||
|
||||
exclude:
|
||||
- .gitignore
|
||||
- bin
|
||||
@ -15,7 +18,7 @@ exclude:
|
||||
- package-lock.json
|
||||
- postcss.config.js
|
||||
- README.md
|
||||
- assets/css/tailwind.scss
|
||||
# - assets/css/tailwind.scss
|
||||
|
||||
# files Jekyll should not delete from .site
|
||||
keep_files:
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
include:
|
||||
- assets/css/tailwind.scss
|
||||
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta charset="utf-8">
|
||||
<title>{{ page.title }} - {{ site.title }}</title>
|
||||
<title>{{ page.title }} | {{ site.title }}</title>
|
||||
<link rel="stylesheet" href="{{ "/assets/css/tailwind.css" | relative_url }}">
|
||||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
||||
</head>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
bundle exec jekyll build --profile --config _config.yml,_config_tailwind.yml
|
||||
bundle exec jekyll build --profile --config _config.yml
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
JEKYLL_ENV=production bundle exec jekyll build --profile --config _config.yml,_config_tailwind.yml
|
||||
JEKYLL_ENV=production bundle exec jekyll build --profile --config _config.yml
|
||||
|
||||
2432
package-lock.json
generated
2432
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,5 @@
|
||||
module.exports = {
|
||||
mode: 'jit',
|
||||
purge: {
|
||||
enabled: process.env.JEKYLL_ENV == "production",
|
||||
content:[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user