This repository has been archived by the owner on Jul 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e748b35
commit 92fd622
Showing
5 changed files
with
55 additions
and
49 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,7 @@ | ||
const purgecss = require('@fullhuman/postcss-purgecss')({ | ||
|
||
// Specify the paths to all of the template files in your project | ||
content: [ | ||
'./src/**/*.html', | ||
'./src/**/*.vue', | ||
], | ||
|
||
// Include any special characters you're using in this regular expression | ||
defaultExtractor: content => content.match(/[\w-/:]+(?<!:)/g) || [] | ||
}); | ||
|
||
module.exports = { | ||
plugins: [ | ||
require('tailwindcss'), | ||
require('postcss-nested'), | ||
require('autoprefixer'), | ||
...process.env.NODE_ENV === 'production' | ||
? [purgecss] | ||
: [] | ||
require('autoprefixer') | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
module.exports = { | ||
purge: [ | ||
'./src/**/*.html', | ||
'./src/**/*.vue', | ||
], | ||
theme: { | ||
extend: {}, | ||
}, | ||
|