-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeps.ts
45 lines (37 loc) · 1.04 KB
/
deps.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import * as esbuild from "npm:esbuild@^0.23.0"
import { compile as compileMdx } from "https://esm.sh/@mdx-js/[email protected]"
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
esbuild,
// mdx-js
compileMdx,
// esbuild_deno_loader
denoLoaderPlugin,
denoResolverPlugin,
// deno std
parseArgs,
parseJsonc,
// React
React,
renderToStaticMarkup,
// files
isAbsolute,
join,
resolve,
normalize,
dirname,
extname,
parse,
ensureDir,
// css
init as initCss,
transform as transformCss,
}