Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

271 B
Raw Blame
import { readFileSync, writeFileSync } from 'node:fs'
// https://www.npmjs.com/package/uglify-js
import UglifyJS from 'uglify-js'

writeFileSync(
  'public/embed.min.js',
  UglifyJS.minify({
    'embed.js': readFileSync('public/embed.js', 'utf8'),
  }).code,
  'utf8',
)