Skip to content

Commit

Permalink
testing central host preview.js and preview.cs on github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
FentPams committed Jul 31, 2024
1 parent ebafebc commit ff29552
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 907 deletions.
9 changes: 7 additions & 2 deletions plugins/experimentation/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,11 @@ export async function loadLazy(document, options = {}) {
return;
}
// eslint-disable-next-line import/no-cycle
const preview = await import('./preview.js');
preview.default(document, pluginOptions);
const preview = await import('https://fentpams.github.io/lab/preview.js');
const context = {
getMetadata,
toClassName,
debug,
};
preview.default.call(context, document, pluginOptions);
}
289 changes: 0 additions & 289 deletions plugins/experimentation/src/preview.css

This file was deleted.

Loading

0 comments on commit ff29552

Please sign in to comment.