mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 06:07:21 +01:00
fix(client scripts): add output and fix linting
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
/* eslint-disable import/no-commonjs */
|
||||
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
execSync('npm run build');
|
||||
execSync('npm run build', {
|
||||
stdio: 'inherit',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user