We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc9a737 commit d08a70dCopy full SHA for d08a70d
server/index.js
@@ -11,12 +11,14 @@ function createServer ({
11
shouldOpen,
12
routerPrefix = ''
13
}) {
14
+ console.log('CONFIG PROVIDER: ', tailwindConfigProvider)
15
const app = new Koa()
16
17
const router = new Router({ prefix: routerPrefix })
18
- router.get('/config.json', (ctx) => {
19
- ctx.body = resolveConfig(tailwindConfigProvider())
+ router.get('/config.json', async (ctx) => {
20
+ const config = await tailwindConfigProvider()
21
+ ctx.body = resolveConfig(config)
22
})
23
24
app
0 commit comments