Skip to content

Commit

Permalink
Remove tailwindcss/colors hack
Browse files Browse the repository at this point in the history
Fixed in tailwindcss 3.1:
tailwindlabs/tailwindcss#8530
  • Loading branch information
mklein994 committed Aug 26, 2022
1 parent 9adeb0c commit c02387b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions vite.config.ts
Expand Up @@ -52,15 +52,6 @@ export default defineConfig(({ mode }) => {
__PLAYGROUND_VUE_COVERAGE_EXISTS__: fs.existsSync(
resolve("./public/coverage/index.html")
),
// HACK: Don't let tailwindcss/colors use process.env (since it's
// node-only).
//
// See https://github.com/tailwindlabs/tailwindcss/blob/fc25299aa64c78e2e1863aff80a27d17c1bc1584/src/util/log.js#L6
//
// A value that is not undefined here silences the deprecation logs,
// since the get() method is overridden for those colors.
"process.env.JEST_WORKER_ID":
mode === "development" ? "'some-defined-value'" : undefined,
},
resolve: {
alias: {
Expand Down

0 comments on commit c02387b

Please sign in to comment.