use CRM_AfformHtml_ExtensionUtil as E;
if (!defined('AFFORM_HTML_MONACO')) {
- define('AFFORM_HTML_MONACO', 'node_modules/monaco-editor/min/vs');
+ define('AFFORM_HTML_MONACO', 'bower_components/monaco-editor/min/vs');
}
/**
if (!file_exists($dir)) {
$messages[] = new CRM_Utils_Check_Message(
'afform_html_monaco',
- ts('Afform HTML is missing its "node_modules" folder. Please consult the README.md for current installation instructions.'),
+ ts('Afform HTML is missing its "bower_components" folder. Please consult the README.md for current installation instructions.'),
ts('Afform HTML: Packages are missing'),
\Psr\Log\LogLevel::CRITICAL,
'fa-chain-broken'