UNPKG

@quixomatic/ui-renderer-react-simple

Version:

React 18 renderer for ServiceNow UI Framework with automatic setup and babel plugin patching

18 lines (14 loc) • 573 B
#!/usr/bin/env node const BabelPatcher = require('./babel-patcher'); console.log('šŸ”§ ServiceNow Babel Plugin Patcher'); console.log('==================================='); const patcher = new BabelPatcher(); const success = patcher.run('patch'); if (success) { console.log('\nšŸŽ‰ Babel plugin patched successfully!'); console.log('React renderer should now work without issues.'); } else { console.error('\nāŒ Failed to patch babel plugin.'); console.error('You may need to manually update the ServiceNow babel plugin file.'); process.exit(1); }