from: undefined -> from: __filename (#3356)

This commit is contained in:
Illia Sakovich 2021-01-29 21:34:50 +02:00 committed by GitHub
parent 8e857dbd78
commit 43afae42d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,7 +350,7 @@ export default function substituteClassApplyAtRules(config, getProcessedPlugins,
substituteScreenAtRules(config),
])
.process(requiredTailwindAtRules.map((rule) => `@tailwind ${rule};`).join('\n'), {
from: undefined,
from: __filename,
})
.then((result) => {
defaultTailwindTree.set(lookupKey, result)