Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Apr 24, 2024
1 parent 9574e2e commit 439ce2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
27 changes: 2 additions & 25 deletions app.config.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,13 @@
import { nodeTypes } from "@mdx-js/mdx";
import { defineConfig } from "@solidjs/start/config";
import path from "node:path";
import rehypeRaw from "rehype-raw";
import remarkFrontmatter from "remark-frontmatter";
import compileTime from "vite-plugin-compile-time";
import solidSvg from "vite-plugin-solid-svg";
import { linariaVitePlugin } from "./vite/linariaVitePlugin";
// @ts-ignore
import rehypeShiki from "@shikijs/rehype";
import { transformerNotationDiff } from "@shikijs/transformers";
// @ts-ignore
import _mdx from "@vinxi/plugin-mdx";
// @ts-ignore
import remarkCaptions from "remark-captions";
import remarkGfm from "remark-gfm";
import { parseDelimitedString } from "./src/util/parseDelimitedString";
import tsconfig from "./tsconfig.json";
// import { ssrBabelPlugin } from "./vite/ssrBabelPlugin";
import { viteMarkdownPlugin } from "./vite/markdown/viteMarkdownPlugin";
import { viteImagePlugin } from "./vite/viteImagePlugin";
// @ts-ignore
import SSPreloadBabel from "solid-start-preload/babel";
import { viteImagePlugin } from "./vite/viteImagePlugin";
import { viteMarkdownPlugin } from "./vite/markdown/viteMarkdownPlugin";

// import devtools from "solid-devtools/vite";

const root = process.cwd();

Expand Down Expand Up @@ -80,14 +65,6 @@ export default defineConfig({
compileTime(),
solidSvg(),
viteMarkdownPlugin(),
// devtools({
// autoname: true,
// locator: {
// key: "Shift",
// componentLocation: true,
// jsxLocation: true,
// } as any,
// }),
linariaVitePlugin({
include: [/\/src\//],
exclude: [/solid-refresh/, /\/@babel\/runtime\//, /\.import\./],
Expand Down
1 change: 0 additions & 1 deletion src/ssg/getArticles.ssg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const getArticlesSSG = () => {
while (c.length && (!c[0] || c[0].startsWith("import "))) {
c.splice(0, 1);
}
console.log(c[0]);
return c.join("\n");
})();

Expand Down

0 comments on commit 439ce2d

Please sign in to comment.