---
title: "Deno 1.34: deno compile supports npm packages"
description: "Deno 1.34 lets `deno compile` bundle npm packages and their dependencies into a single self-contained executable."
url: "https://swe.quest/articles/deno-1-34-deno-compile-supports-npm-packages-6066648b7bf9ee04"
canonical: "https://deno.com/blog/v1.34"
source: "Deno"
published: "2023-05-25"
difficulty: "medium"
kind: "Release"
reading_minutes: 6
tags: ["javascript","runtimes","developer-tools","typescript"]
---

# Deno 1.34: deno compile supports npm packages

A post on [Deno](https://swe.quest/sources/deno.md), published 2023-05-25, 6 min read, Release. Original: [https://deno.com/blog/v1.34](https://deno.com/blog/v1.34)

## Summary

Deno 1.34 lets \`deno compile\` bundle npm packages and their dependencies into a single self-contained executable. That makes tools like vite and eslint shippable as binaries with pinned dependencies, and they tend to start faster than running from a local cache. The release also adds cross-platform glob support in deno.json, deno task and CLI flags, and TLS certificates with IP addresses via rustls. Smaller changes include a top-level \`exclude\` and \`nodeModulesDir\` in config, configurable language-server limits, a \`Deno.serve()\` signature change that returns a \`Deno.Server\`, new \`createHttpClient\` pool options, more Node.js polyfills, and upgrades to V8 11.5 and TypeScript 5.0.4.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [JavaScript](https://swe.quest/tags/javascript.md) (Languages)
- [Runtimes & VMs](https://swe.quest/tags/runtimes.md) (Compilers & runtimes)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [TypeScript](https://swe.quest/tags/typescript.md) (Languages)

## Prerequisites

- Deno basics
- npm packages

## Keywords

Deno, deno compile, npm, rustls, Deno.serve, V8, TypeScript 5.0

## Related posts

- [Deno 2.3: Improved deno compile, local npm packages, and more](https://swe.quest/articles/deno-2-3-improved-deno-compile-local-npm-packages-and-more-8da91030a8445369.md): Deno · 2025-05-01 · Medium · 11 min read · JavaScript, TypeScript, Runtimes & VMs, Developer tools, Observability
  Deno 2.3 lets deno compile bundle programs that use FFI and Node native add-ons, adds --include/--exclude control over embedded files, and exposes Deno.build.standalone to detect compiled binaries.
- [Deno 1.32: Enhanced Node.js Compatibility](https://swe.quest/articles/deno-1-32-enhanced-node-js-compatibility-b203aa007c83fdbd.md): Deno · 2023-03-23 · Medium · 5 min read · JavaScript, Runtimes & VMs, TypeScript
  Deno 1.32 improves Node.js compatibility by installing npm packages only when a bare specifier matches package.json, surfacing package.json errors lazily, adding DENO\_NO\_PACKAGE\_JSON, and supporting createCipheriv/createDecipheriv in node:crypto. \`deno compile\` now handles dynamic imports and Web Workers, bundling statically analyzable specifiers automatically and others via a new --include flag.
- [Deno 2.4: deno bundle is back](https://swe.quest/articles/deno-2-4-deno-bundle-is-back-ed93373e4555da2c.md): Deno · 2025-07-02 · Medium · 19 min read · JavaScript, TypeScript, Runtimes & VMs, Build systems, Developer tools
  Deno 2.4 brings back \`deno bundle\`, now built on esbuild, producing single-file bundles for Deno or browser targets with tree shaking, minification, sourcemaps and npm/JSR dependency support.
- [Deno 2.9](https://swe.quest/articles/deno-2-9-919531dc50e2e28a.md): Deno · 2026-06-25 · Medium · 24 min read · JavaScript, Runtimes & VMs, Build systems, Performance engineering, Developer tools
  Deno 2.9 introduces experimental \`deno desktop\`, which compiles a web UI plus Deno logic into a single native binary using either the OS webview or bundled Chromium via CEF, with native window, tray and dock APIs and cross-compilation to installers for all five targets. \`deno install\` now seeds \`deno.lock\` from npm, pnpm, yarn and Bun lockfiles with exact versions and hashes, migrates pnpm workspace config, and shims \`node\` for tools that shell out to it.
- [Self-contained Executable Programs with Deno Compile](https://swe.quest/articles/self-contained-executable-programs-with-deno-compile-1f904f454f37c8a8.md): Deno · 2024-11-14 · Medium · 5 min read · JavaScript, TypeScript, Build systems, Developer tools
  \`deno compile\` turns JavaScript and TypeScript programs into standalone binaries for Windows, macOS and Linux that run without Deno installed.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
