Skip to content

Commit e2f140d

Browse files
committed
fix(build-plugin-lowcode): build error caused by customPlugins
1 parent 5006667 commit e2f140d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/build-plugin-lowcode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alifd/build-plugin-lowcode",
3-
"version": "0.3.15",
3+
"version": "0.3.16",
44
"description": "build plugin for component-to-lowcode",
55
"main": "src/index.js",
66
"keywords": [

packages/build-plugin-lowcode/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,7 @@ async function bundleEditorView(
750750
type = 'component',
751751
setterName,
752752
presetConfig = {},
753+
customPlugins = [],
753754
} = pluginOptions || {};
754755
const metaExportName = `${PARSED_NPM_NAME.uniqueName}Meta`;
755756
const advancedRenderUrls = {};
@@ -802,6 +803,7 @@ async function bundleEditorView(
802803
setterName: setterName || '',
803804
type,
804805
presetConfig: JSON.stringify(presetConfig),
806+
customPlugins: JSON.stringify(customPlugins),
805807
};
806808
const indexJs = generateEntry({
807809
template: 'index.jsx',

0 commit comments

Comments
 (0)