Skip to content

Commit c02387b

Browse files
committedAug 26, 2022
Remove tailwindcss/colors hack
Fixed in tailwindcss 3.1: tailwindlabs/tailwindcss#8530
1 parent 9adeb0c commit c02387b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed
 

‎vite.config.ts

-9
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ export default defineConfig(({ mode }) => {
5252
__PLAYGROUND_VUE_COVERAGE_EXISTS__: fs.existsSync(
5353
resolve("./public/coverage/index.html")
5454
),
55-
// HACK: Don't let tailwindcss/colors use process.env (since it's
56-
// node-only).
57-
//
58-
// See https://github.com/tailwindlabs/tailwindcss/blob/fc25299aa64c78e2e1863aff80a27d17c1bc1584/src/util/log.js#L6
59-
//
60-
// A value that is not undefined here silences the deprecation logs,
61-
// since the get() method is overridden for those colors.
62-
"process.env.JEST_WORKER_ID":
63-
mode === "development" ? "'some-defined-value'" : undefined,
6455
},
6556
resolve: {
6657
alias: {

0 commit comments

Comments
 (0)
Please sign in to comment.