Skip to content

Commit

Permalink
chore(nx-dev): throw error if no dependency found when expected (nrwl…
Browse files Browse the repository at this point in the history
  • Loading branch information
bcabanes authored Feb 26, 2023
1 parent 3c50474 commit bdb454d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nx-dev/nx-dev/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const path = require('path');
const { createGlobPatternsForDependencies } = require('@nrwl/next/tailwind');

if (!createGlobPatternsForDependencies(__dirname).length)
throw Error('GRAPH ISSUE: No dependency found when many are expected.');

module.exports = {
experimental: {
optimizeUniversalDefaults: true,
Expand Down

0 comments on commit bdb454d

Please sign in to comment.