@blocklet/pages-kit-block-studio 0.4.76 → 0.4.77
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.
- package/lib/cjs/constants/index.js +1 -1
- package/lib/cjs/plugins/vite-plugin-block-studio.js +2 -2
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/constants/index.js +1 -1
- package/lib/esm/plugins/vite-plugin-block-studio.js +5 -3
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/types/constants/index.d.ts +1 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -17,4 +17,4 @@ exports.libDir = 'lib';
|
|
|
17
17
|
exports.METADATA_FILE_NAME = '@metadata.json';
|
|
18
18
|
exports.PREVIEW_IMAGE_DIR = '@preview-images';
|
|
19
19
|
exports.NANOID_LENGTH = 16;
|
|
20
|
-
exports.DEFAULT_BLOCK_ENTRY_FILES_PATTERN = 'src/**/index.{ts,tsx
|
|
20
|
+
exports.DEFAULT_BLOCK_ENTRY_FILES_PATTERN = 'src/**/index.{ts,tsx}';
|
|
@@ -252,7 +252,7 @@ function initBlockStudioPlugins(options) {
|
|
|
252
252
|
extraFindPages: async (_pagesDir, helpers) => {
|
|
253
253
|
helpers.watchFiles(workingDir, (0, helper_1.getBlockEntryFilesPattern)(), async function fileHandler(file, api) {
|
|
254
254
|
const { relative, path: filePath } = file;
|
|
255
|
-
const isHtml = relative.endsWith('.html');
|
|
255
|
+
const isHtml = false && relative.endsWith('.html');
|
|
256
256
|
const blockName = (0, helper_1.getBlockName)(relative);
|
|
257
257
|
const pageId = `/${blockName}`;
|
|
258
258
|
const dirPath = path.dirname(filePath);
|
|
@@ -285,7 +285,7 @@ function initBlockStudioPlugins(options) {
|
|
|
285
285
|
},
|
|
286
286
|
}),
|
|
287
287
|
}),
|
|
288
|
-
|
|
288
|
+
// initHtmlPreviewTransformPlugin(),
|
|
289
289
|
(0, vite_plugin_css_injected_by_js_1.default)(),
|
|
290
290
|
// https://github.com/rollup/plugins/tree/master/packages/typescript#noforceemit
|
|
291
291
|
// typescript({
|