@lightningjs/blits
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -34,4 +34,4 @@ { | ||
"dependencies": { | ||
"@lightningjs/blits": "^0.3.4" | ||
"@lightningjs/blits": "^0.3.5" | ||
} | ||
} |
import Blits from '@lightningjs/blits' | ||
import fontLoader from './fontloader.js?importChunkUrl' | ||
@@ -10,2 +11,3 @@ import App from './App.js' | ||
debugLevel: 1, | ||
fontLoader: fontLoader, | ||
fonts: [ | ||
@@ -12,0 +14,0 @@ {family: 'lato', type: 'msdf', png: '/fonts/Lato-Regular.msdf.png', json: '/fonts/Lato-Regular.msdf.json'}, |
{ | ||
"name": "@lightningjs/blits", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "Blits: The Lightning 3 App Development Framework", | ||
@@ -8,3 +8,4 @@ "bin": "bin/index.cjs", | ||
".": "./index.js", | ||
"./vite": "./vite/index.js" | ||
"./vite": "./vite/index.js", | ||
"./fontloader": "./src/fontLoader.js" | ||
}, | ||
@@ -11,0 +12,0 @@ "scripts": { |
@@ -23,3 +23,3 @@ /* | ||
import coreExtensionModule from './fontLoader.js?importChunkUrl' | ||
// import coreExtensionModule from './fontLoader.js?importChunkUrl' | ||
@@ -44,3 +44,3 @@ export let renderer | ||
appHeight: settings.h || 1080, | ||
coreExtensionModule: coreExtensionModule, | ||
coreExtensionModule: settings.fontLoader, | ||
}, | ||
@@ -47,0 +47,0 @@ target, |
835747
87
20736