Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "nuekit", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
@@ -5,0 +5,0 @@ "description": "The Nue framework for building websites and webapps", |
@@ -34,4 +34,9 @@ | ||
// nue JS | ||
const jsdir = join(nuedir, 'js') | ||
await fs.mkdir(jsdir, { recursive: true }) | ||
await fs.copyFile(join(assets, 'nue.js'), join(jsdir, 'nue.js')) | ||
// production | ||
if (is_prod) { | ||
const jsdir = join(nuedir, 'js') | ||
await minifyJS(join(assets, 'page-router.js'), nuedir) | ||
@@ -41,9 +46,8 @@ await minifyJS(join(assets, 'app-router.js'), nuedir) | ||
// nue.js | ||
await fs.mkdir(jsdir, { recursive: true }) | ||
await minifyJS(join(root, '../../nuejs/src/browser/nue.js'), jsdir, true) | ||
// do this later | ||
// await minifyJS(join(root, '../../nuejs/src/browser/nue.js'), jsdir, true) | ||
} else { | ||
// await symlink(join(root, 'src'), 'js') | ||
await symlink(join(root, 'src'), 'js') | ||
await symlink(join(assets, 'page-router.js')) | ||
@@ -50,0 +54,0 @@ await symlink(join(assets, 'app-router.js')) |
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
77658
24
1707