Skip to content

Commit 4b0c912

Browse files
committed
move dependencies to client
1 parent e0ec02c commit 4b0c912

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

generator/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ function injectPurgeConfig(ctx) {
5656
module.exports = (api, options) => {
5757
const postcss = readPostcssConfig(api.generator);
5858
const configs = {
59+
dependencies: {
60+
'@tailwindcss/postcss7-compat': '^2.0.2',
61+
autoprefixer: '^9',
62+
postcss: '^7',
63+
tailwindcss: 'npm:@tailwindcss/postcss7-compat@^2.0.2',
64+
},
5965
postcss: {
6066
plugins: {
6167
'@tailwindcss/postcss7-compat': {},

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,5 @@
1616
"plugin",
1717
"tailwind",
1818
"purgecss"
19-
],
20-
"dependencies": {
21-
"@tailwindcss/postcss7-compat": "^2.0.2",
22-
"autoprefixer": "^9",
23-
"postcss": "^7",
24-
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.2"
25-
}
19+
]
2620
}

0 commit comments

Comments
 (0)