@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.
@@ -169,7 +169,7 @@ function initBlockStudioPlugins(options) {
169
169
  ? {
170
170
  isHtmlPreview: true,
171
171
  dataPath: filePath,
172
- code: (0, vite_plugin_html_transform_1.generateComponent)((0, vite_plugin_html_transform_1.readHtmlFiles)(dirPath.split('?dir=')[1] || '')),
172
+ code: (0, vite_plugin_html_transform_1.generateComponent)((0, vite_plugin_html_transform_1.readHtmlFiles)(dirPath)),
173
173
  blockName,
174
174
  dirPath,
175
175
  metadataPath,