-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
737 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -19,10 +23,11 @@ export { | |
|
||
// deno std | ||
parseArgs, | ||
parseJsonc, | ||
|
||
// React | ||
React, | ||
compileReactStatic, | ||
renderToStaticMarkup, | ||
|
||
// files | ||
isAbsolute, | ||
|
@@ -31,5 +36,10 @@ export { | |
normalize, | ||
dirname, | ||
extname, | ||
parse | ||
parse, | ||
ensureDir, | ||
|
||
// css | ||
init as initCss, | ||
transform as transformCss, | ||
} |
Oops, something went wrong.