Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nuekit

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuekit - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

src/browser/nue.js

2

package.json
{
"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'))

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc