Skip to content
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.

Commit

Permalink
vendor update
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Apr 30, 2020
1 parent e748b35 commit 92fd622
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 49 deletions.
68 changes: 46 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@fullhuman/postcss-purgecss": "^2.1.2",
"@types/jest": "^24.0.19",
"@types/qs": "^6.9.1",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"@vue/cli-plugin-babel": "^4.3.1",
"@vue/cli-plugin-eslint": "~4.3.0",
"@vue/cli-plugin-router": "^4.3.1",
Expand All @@ -22,14 +22,14 @@
"@vue/eslint-config-typescript": "^5.0.2",
"@vue/test-utils": "1.0.0-beta.31",
"core-js": "^3.6.5",
"coveralls": "^3.0.14",
"coveralls": "^3.1.0",
"date-fns": "^2.11.1",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"fetch-mock": "^9.4.0",
"node-fetch": "^2.6.0",
"qs": "^6.9.3",
"tailwindcss": "^1.3.5",
"tailwindcss": "^1.4.0",
"typescript": "~3.8.3",
"vue": "^2.6.11",
"vue-router": "^3.1.6",
Expand Down
17 changes: 1 addition & 16 deletions postcss.config.js
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')
],
};
7 changes: 0 additions & 7 deletions src/index.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
/* purgecss start ignore */
@tailwind base;
@tailwind components;
/* purgecss end ignore */

@tailwind utilities;

/* purgecss start ignore */

html,
body,
#root {
Expand Down Expand Up @@ -326,5 +321,3 @@ dd {
@apply w-4/5;
}
}

/* purgecss end ignore */
4 changes: 4 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
module.exports = {
purge: [
'./src/**/*.html',
'./src/**/*.vue',
],
theme: {
extend: {},
},
Expand Down

0 comments on commit 92fd622

Please sign in to comment.