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
|
# JavaScript
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
|
||||||
@ -8,6 +8,9 @@ plugins:
|
|||||||
sass:
|
sass:
|
||||||
sourcemap: never
|
sourcemap: never
|
||||||
|
|
||||||
|
postcss:
|
||||||
|
cache: false
|
||||||
|
|
||||||
exclude:
|
exclude:
|
||||||
- .gitignore
|
- .gitignore
|
||||||
- bin
|
- bin
|
||||||
@ -15,7 +18,7 @@ exclude:
|
|||||||
- package-lock.json
|
- package-lock.json
|
||||||
- postcss.config.js
|
- postcss.config.js
|
||||||
- README.md
|
- README.md
|
||||||
- assets/css/tailwind.scss
|
# - assets/css/tailwind.scss
|
||||||
|
|
||||||
# files Jekyll should not delete from .site
|
# files Jekyll should not delete from .site
|
||||||
keep_files:
|
keep_files:
|
||||||
|
|||||||
@ -1,2 +0,0 @@
|
|||||||
include:
|
|
||||||
- assets/css/tailwind.scss
|
|
||||||
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta charset="utf-8">
|
<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/tailwind.css" | relative_url }}">
|
||||||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}">
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/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
|
#!/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 = {
|
module.exports = {
|
||||||
|
mode: 'jit',
|
||||||
purge: {
|
purge: {
|
||||||
enabled: process.env.JEKYLL_ENV == "production",
|
enabled: process.env.JEKYLL_ENV == "production",
|
||||||
content:[
|
content:[
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user