@blocklet/pages-kit-block-studio 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,7 @@ export function initBlockStudioPlugins(options) {
133
133
  ? {
134
134
  isHtmlPreview: true,
135
135
  dataPath: filePath,
136
- code: generateComponent(readHtmlFiles(dirPath.split('?dir=')[1] || '')),
136
+ code: generateComponent(readHtmlFiles(dirPath)),
137
137
  blockName,
138
138
  dirPath,
139
139
  metadataPath,