Skip to content

Commit 50c75ca

Browse files
committed
chore: upgrade deps
1 parent d731c37 commit 50c75ca

File tree

9 files changed

+323
-353
lines changed

9 files changed

+323
-353
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ A util for mangle tailwindcss
77
- [tailwindcss-mangle-core](#tailwindcss-mangle-core)
88
- [tailwindcss-mangle-shared](#tailwindcss-mangle-shared)
99
- [unplugin-tailwindcss-mangle](#unplugin-tailwindcss-mangle)
10+
- [How to use](#how-to-use)
1011

1112
## tailwindcss-patch
1213

@@ -31,3 +32,7 @@ click [tailwindcss-mangle-shared](./packages/shared) for more details.
3132
`unplugin-tailwindcss-mangle` is a plugin for `webpack` and `vite` to **obfuscate** tailwindcss class.
3233

3334
you can enter [unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mangle) for usage and more details.
35+
36+
## How to use
37+
38+
See [unplugin-tailwindcss-mangle](./packages/unplugin-tailwindcss-mangle)

apps/next-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"prepare": "tw-patch"
1111
},
1212
"dependencies": {
13-
"@types/node": "20.2.5",
14-
"@types/react": "18.2.9",
13+
"@types/node": "20.3.0",
14+
"@types/react": "18.2.11",
1515
"@types/react-dom": "18.2.4",
1616
"autoprefixer": "10.4.14",
1717
"eslint": "8.42.0",
18-
"eslint-config-next": "13.4.4",
19-
"next": "13.4.4",
18+
"eslint-config-next": "13.4.5",
19+
"next": "13.4.5",
2020
"postcss": "8.4.24",
2121
"react": "18.2.0",
2222
"react-dom": "18.2.0",

apps/nuxt-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"prepare": "tw-patch"
1111
},
1212
"devDependencies": {
13-
"@types/node": "^20.2.5",
13+
"@types/node": "^20.3.0",
1414
"autoprefixer": "^10.4.14",
1515
"nuxt": "^3.5.3",
1616
"postcss": "^8.4.24",

apps/remix-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"devDependencies": {
2020
"@remix-run/dev": "^1.17.0",
2121
"@remix-run/eslint-config": "^1.17.0",
22-
"@types/react": "^18.2.9",
22+
"@types/react": "^18.2.11",
2323
"@types/react-dom": "^18.2.4",
2424
"eslint": "^8.42.0",
2525
"tailwindcss": "^3.3.2",

apps/vite-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"react-dom": "^18.2.0"
1515
},
1616
"devDependencies": {
17-
"@types/react": "^18.2.9",
17+
"@types/react": "^18.2.11",
1818
"@types/react-dom": "^18.2.4",
1919
"@vitejs/plugin-react": "^4.0.0",
2020
"autoprefixer": "^10.4.14",

apps/webpack5-vue3/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"eslint-plugin-promise": "^6.1.1",
3232
"eslint-plugin-vue": "^9.14.1",
3333
"postcss": "^8.4.24",
34-
"sass": "^1.63.2",
35-
"sass-loader": "^13.3.1",
34+
"sass": "^1.63.3",
35+
"sass-loader": "^13.3.2",
3636
"tailwindcss": "^3.3.2",
3737
"tailwindcss-patch": "workspace:*",
3838
"typescript": "~5.1.3",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525
"@icebreakers/tsconfig": "^0.0.6",
2626
"@tsconfig/recommended": "^1.0.2",
2727
"@types/jest": "^29.5.2",
28-
"@types/node": "^20.2.5",
28+
"@types/node": "^20.3.0",
2929
"bumpp": "^9.1.1",
3030
"cross-env": "^7.0.3",
3131
"eslint": "^8.42.0",
3232
"eslint-plugin-unicorn": "^47.0.0",
3333
"jest": "^29.5.0",
3434
"only-allow": "^1.1.1",
3535
"prettier": "^2.8.8",
36-
"rollup": "^3.24.0",
36+
"rollup": "^3.25.0",
3737
"tailwindcss-mangle-core": "workspace:*",
3838
"tailwindcss-mangle-shared": "workspace:*",
3939
"tailwindcss-patch": "workspace:*",
@@ -45,7 +45,7 @@
4545
"engines": {
4646
"node": ">=14.0.0"
4747
},
48-
"packageManager": "pnpm@8.5.1",
48+
"packageManager": "pnpm@8.6.1",
4949
"dependencies": {
5050
"vitest": "^0.32.0"
5151
}

packages/unplugin-tailwindcss-mangle/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,15 @@ import { webpackPlugin as utwm } from 'unplugin-tailwindcss-mangle'
8484
const { webpackPlugin: utwm } = require('unplugin-tailwindcss-mangle')
8585
// use this webpack plugin
8686
// for example next.config.js
87-
/** @type {import('next').NextConfig} */
88-
const nextConfig = {
89-
reactStrictMode: true,
90-
webpack: (config) => {
87+
const { defineConfig } = require('@vue/cli-service')
88+
// vue.config.js
89+
module.exports = defineConfig({
90+
transpileDependencies: true,
91+
configureWebpack: (config) => {
9192
config.plugins.push(utwm())
92-
return config
9393
}
94-
}
94+
})
9595

96-
module.exports = nextConfig
9796
```
9897

9998
## Options

0 commit comments

Comments
 (0)