Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
mattvr committed Oct 22, 2024
1 parent b38d73f commit 11d0af6
Show file tree
Hide file tree
Showing 8 changed files with 737 additions and 522 deletions.
2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mattvr/dsbuild",
"version": "0.1.0",
"version": "0.2.0",
"exports": "./mod.ts",
"compilerOptions": {
"lib": ["dom", "dom.iterable", "dom.asynciterable", "esnext", "deno.ns"],
Expand Down
16 changes: 13 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import * as esbuild from "npm:esbuild@^0.23.0"
import { compile as compileMdx } from "https://esm.sh/@mdx-js/[email protected]"
import { renderToStaticMarkup as compileReactStatic } from "https://esm.sh/[email protected]/server"
import { renderToStaticMarkup } from "https://esm.sh/[email protected]/server"
import { denoLoaderPlugin, denoResolverPlugin } from "jsr:@luca/esbuild-deno-loader@^0.10.3";
import React from "https://esm.sh/[email protected]";
import {parseArgs} from "jsr:@std/cli@^0.224.7/parse-args";
import { isAbsolute, join, resolve, normalize, dirname, extname, parse } from 'jsr:@std/path@^0.225.2'
import { ensureDir } from 'jsr:@std/fs'
import init, { transform } from "https://cdn.jsdelivr.net/npm/lightningcss-wasm/+esm";
import { parse as parseJsonc } from "jsr:@std/jsonc";


export {
// esbuild
Expand All @@ -19,10 +23,11 @@ export {

// deno std
parseArgs,
parseJsonc,

// React
React,
compileReactStatic,
renderToStaticMarkup,

// files
isAbsolute,
Expand All @@ -31,5 +36,10 @@ export {
normalize,
dirname,
extname,
parse
parse,
ensureDir,

// css
init as initCss,
transform as transformCss,
}
Loading

0 comments on commit 11d0af6

Please sign in to comment.