Dynamically import lens renderers

This commit is contained in:
Andrew Bastin
2020-06-30 16:11:21 -04:00
parent 94b61e9f7c
commit fe1353b5c7
7 changed files with 17 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ const imageLens = {
"image/vnd.microsoft.icon",
],
renderer: "imageres",
rendererImport: () => import("~/components/lenses/renderers/ImageLensRenderer"),
}
export default imageLens