Skip to content

Commit eef0cd8

Browse files
committed
chore: bump version
1 parent 36455dd commit eef0cd8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1032
-2435
lines changed

apps/next-app-router/next.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import utwm from 'unplugin-tailwindcss-mangle/webpack'
44
const nextConfig = {
55
webpack: (config) => {
66
config.plugins.push(utwm({
7-
classMapOutput: true,
7+
registry: {
8+
mapping: true,
9+
},
810
}))
911
return config
1012
},

apps/next-app/next.config.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ const nextConfig = {
88
// console.log(process.env.NODE_ENV)
99
// if (process.env.NODE_ENV === 'production') {
1010
// config.plugins.push(utwm({
11-
// classMapOutput: true,
11+
// registry: {
12+
// mapping: true,
13+
// },
1214
// }))
1315
// }
1416
config.plugins.push(utwm({
15-
classMapOutput: true,
17+
registry: {
18+
mapping: true,
19+
},
1620
}))
1721
return config
1822
},

apps/nuxt-app/nuxt.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export default defineNuxtConfig({
1717
// [
1818
// nuxtPlugin,
1919
// {
20-
// classMapOutput: true,
20+
// registry: {
21+
// mapping: true,
22+
// },
2123
// },
2224
// ],
2325
],

apps/solid-app/vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ export default defineConfig({
66
plugins: [
77
solidPlugin(),
88
utwm({
9-
classMapOutput: true,
9+
registry: {
10+
mapping: true,
11+
},
1012
}),
1113
],
1214
server: {
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { defineConfig } from 'tailwindcss-patch'
22

33
export default defineConfig({
4-
mangle: {
5-
preserveFunction: ['twMerge', 'cn'],
4+
transformer: {
5+
preserve: {
6+
functions: ['twMerge', 'cn'],
7+
},
68
},
79
})

apps/vite-react/vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export default defineConfig({
99
plugins: [
1010
react(),
1111
utwm({
12-
classMapOutput: true,
12+
registry: {
13+
mapping: true,
14+
},
1315
}),
1416
],
1517
css: {

apps/vite-svelte/vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ export default defineConfig({
66
plugins: [
77
svelte(),
88
utwm({
9-
classMapOutput: true,
9+
registry: {
10+
mapping: true,
11+
},
1012
}),
1113
],
1214
})

apps/vite-vanilla/vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ import { defineConfig } from 'vite'
44
export default defineConfig({
55
plugins: [
66
utwm({
7-
classMapOutput: true,
7+
registry: {
8+
mapping: true,
9+
},
810
}),
911
],
1012
})
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { defineConfig } from 'tailwindcss-patch'
22

33
export default defineConfig({
4-
mangle: {
5-
preserveFunction: ['twMerge'],
4+
transformer: {
5+
preserve: {
6+
functions: ['twMerge'],
7+
},
68
},
79
})

apps/vite-vue/vite.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ export default defineConfig({
99
plugins: [
1010
vue(),
1111
utwm({
12-
classMapOutput: true,
12+
registry: {
13+
mapping: true,
14+
},
1315
}),
1416
],
1517
css: {

0 commit comments

Comments
 (0)