mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-10 01:31:45 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -59,11 +59,14 @@ export function webpackTailwindCompilerPlugin({ shouldWatch = true }) {
|
||||
}
|
||||
|
||||
if (wasScriptCalledDirectly()) {
|
||||
build().then(() => {
|
||||
console.log('Tailwind utils built successfully')
|
||||
}).catch(e => {
|
||||
console.warn('Building Tailwind utils produced an error')
|
||||
console.error(e);
|
||||
process.exitCode = 1;
|
||||
});
|
||||
build()
|
||||
// eslint-disable-next-line promise/always-return
|
||||
.then(() => {
|
||||
console.log('Tailwind utils built successfully');
|
||||
})
|
||||
.catch((e) => {
|
||||
console.warn('Building Tailwind utils produced an error');
|
||||
console.error(e);
|
||||
process.exitCode = 1;
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user