Skip to content

Commit

Permalink
Diff-dom not needed in production
Browse files Browse the repository at this point in the history
  • Loading branch information
tipiirai committed Jan 3, 2024
1 parent 0fc3024 commit 16334ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuekit/src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ export async function init({ dist, is_dev, esbuild }) {
log(`Initialize ${dist}`)

await buildPackage('nuejs-core', 'nue.js')
await buildPackage('diff-dom', 'diffdom.js')

await buildFile('page-router')
await buildFile('app-router')
await buildFile('mount')

// dev only
if (is_dev) {
await buildPackage('diff-dom', 'diffdom.js')
await buildFile('hotreload')
await copy('error.css', outdir)
await nueCompile(join(fromdir, 'error.nue'), join(outdir, 'error.js'))
Expand Down

0 comments on commit 16334ea

Please sign in to comment.