![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@hattip/bundler-cloudflare-workers
Advanced tools
@hattip/bundler-cloudflare-workers
Hattip bundler for Cloudflare Workers. It uses esbuild
behind the scenes.
hattip-cloudflare-workers [...options] <input> <output>
Bundle the Hattip app in <input> into <output> as a Clourflare Workers module.
Options:
-e, --entry Interpret <input> as a Cloudflare Workers module entry instead of a Hattip handler entry
-h, --help Display this message
-v, --version Display version number
The input can be either a module that default exports a Hattip handler entry or a Cloudflare Workers module similar to the following:
import cloudflareWorkersAdapter from "@hattip/adapter-cloudflare-workers";
import handler from "./handler.js";
export default {
fetch: cloudflareWorkersAdapter(handler),
};
The output is a Clourflare Workers bundle that can be deployed with wrangler
or tested with wrangler dev
.
import bundler from "@hattip/bundler-cloudflare-workers";
// You can specify either `cfwEntry` or `handlerEntry` but not both.
bundler({
// cfwEntry: "entry-cloudflare-workers.js",
handlerEntry: "./handler.js",
output: "./cfw-bundle.js",
}).then(() => {
console.log("Bundle complete");
});
The bundling function also accepts a second argument, a callback that is called with an esbuild options object for customizing the build.
FAQs
Cloudflare Workers bundler for Hattip
We found that @hattip/bundler-cloudflare-workers demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.