This commit is contained in:
Jordan Pittman 2022-09-20 10:19:13 -04:00
parent a15bee463f
commit 9ac928b92c

View file

@ -631,18 +631,7 @@ async function build() {
Once(root, { result }) {
tailwind(({ createContext }) => {
return () => {
let context = createContext(config, changedContent)
Object.assign(context, {
userConfigPath: configPath,
postcssOptions: args['--experimental-contextual-paths']
? {
experimental: {
contextualPaths: true,
},
}
: {},
})
return context
return createContext(config, changedContent)
}
})(root, result)
},