Skip to content

Commit

Permalink
chore: improve deprecation message to be generic about config specifi…
Browse files Browse the repository at this point in the history
…cation

can be either nuxt.config or tailwind.config
  • Loading branch information
pi0 committed May 13, 2021
1 parent 6d3bdd1 commit 50b3fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ async function tailwindCSSModule (moduleOptions) {
tailwindConfig._hash = String(Date.now())

if (options.jit === true) {
logger.warn('`tailwindcss.jit` option had been deprecated in favour of `mode: \'jit\'` in `tailwind.config.js`')
logger.warn('`tailwindcss.jit` option had been deprecated in favour of tailwind config `mode: \'jit\'`')
tailwindConfig.mode = 'jit'
}

Expand Down

0 comments on commit 50b3fd4

Please sign in to comment.