Skip to content

Commit e29d89f

Browse files
authored
fix: backward-compat for ESM etherpad (#146)
- Drop trailing slash on ep_etherpad-lite/node/eejs/ require Backward-compatible with current CJS etherpad release; also compatible with the upcoming ESM etherpad branch which has stricter exports map resolution.
1 parent 5f77670 commit e29d89f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const settingsModule = require('ep_etherpad-lite/node/utils/Settings');
44
const settings = settingsModule.default || settingsModule;
55
const {template, rawHTML} = require('ep_plugin_helpers');
6-
const eejs = require('ep_etherpad-lite/node/eejs/');
6+
const eejs = require('ep_etherpad-lite/node/eejs');
77
const shared = require('./static/js/shared');
88

99
exports.eejsBlock_editbarMenuLeft = template('ep_font_size/templates/editbarButtons.ejs', {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "Apply sizes to fonts",
33
"name": "ep_font_size",
4-
"version": "0.4.110",
4+
"version": "0.4.111",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "John McLear",

0 commit comments

Comments
 (0)