Patch Changes
-
#2043
38bbf5aThanks @abstractedfox! - Add Python package support.Existing worker-bundler users should note:
- Automatic dependency installation accepts either
package.jsonorpyproject.toml, not both. Projects that provide both must remove one manifest from the bundler input or install dependencies separately. index.pyis now considered beforesrc/worker.tsandsrc/worker.jsduring default entry-point detection. SetentryPoint,server, orwrangler.mainin projects where that is ambiguous.- Custom
FileSystem.write()implementations used with Python packages must accept both strings and{ data: Uint8Array }binary entries.
- Automatic dependency installation accepts either
-
#2016
2ee8424Thanks @ben-reitz! - Fix dependency extraction for npm tarballs whose enclosing directory is not namedpackage, including DefinitelyTyped packages.