Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "nuekit", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "The closer-to-standards web framework. Build sites and apps with less effort.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://nuejs.org", |
@@ -103,3 +103,2 @@ | ||
document.startViewTransition(async function() { | ||
console.info('asdlfkjasd') | ||
await loadPage(path) | ||
@@ -106,0 +105,0 @@ history.pushState({ path }, 0, path) |
@@ -55,3 +55,3 @@ | ||
// scripts | ||
const scripts = data.scripts = await site.getScripts(dir, data.include) | ||
const scripts = data.scripts = await site.getScripts(dir, data.main) | ||
@@ -58,0 +58,0 @@ // components |
@@ -209,5 +209,5 @@ | ||
self.getScripts = async function (dir, include=['main.js']) { | ||
self.getScripts = async function (dir, main=['main.js']) { | ||
const arr = await getAssets({ dir, exts: ['js', 'ts'], to_ext: 'js' }) | ||
return arr.filter(path => include.includes(basename(path))) | ||
return arr.filter(path => main.includes(basename(path))) | ||
} | ||
@@ -214,0 +214,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83420
1970