Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 0554f96

Browse files
committed
ensure that client-entry.js to be ES6 module
1 parent 78465e1 commit 0554f96

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "growi-plugin-pukiwiki-like-linker",
3-
"version": "2.0.0",
3+
"version": "3.0.0",
44
"description": "GROWI plugin to add PukiwikiLikeLinker",
55
"keywords": [
66
"growi",

src/client-entry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import PukiwikiLikeLinker from './resource/js/util/PreProcessor/PukiwikiLikeLinker';
22

3-
module.exports = (crowi, crowiRenderer) => {
3+
export default (appContainer) => {
44
// add preprocessor to head of array
5-
crowiRenderer.preProcessors.unshift(new PukiwikiLikeLinker());
5+
appContainer.originRenderer.preProcessors.unshift(new PukiwikiLikeLinker());
66
};

src/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path');
22

33
module.exports = {
4-
pluginSchemaVersion: 2,
4+
pluginSchemaVersion: 3,
55
serverEntries: [
66
],
77
clientEntries: [

0 commit comments

Comments
 (0)