Skip to main content
Module

x/clazzx/src/build.ts

ClazzX is a small typesafe utility library for composing HTML classes.
Go to Latest
File
// ex. scripts/build_npm.tsimport { build, emptyDir } from "https://deno.land/x/dnt/mod.ts";
await emptyDir("./npm");
await build({ entryPoints: ["./mod.ts"], outDir: "./npm", shims: { // see JS docs for overview and more options deno: true, }, package: { // package.json properties name: "clazzx", version: "0.0.2", description: "ClazzX is a small typesafe utility library for composing HTML classes.", license: "MIT", repository: { type: "git", url: "git+https://github.com/B3nten/clazzx", }, }, typeCheck: false,});
// post build stepsDeno.copyFileSync("LICENSE", "npm/LICENSE");Deno.copyFileSync("README.md", "npm/README.md");