Skip to content

Commit

Permalink
Cleanup config
Browse files Browse the repository at this point in the history
  • Loading branch information
shiro committed Apr 26, 2024
1 parent 50f338c commit 15905e4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import { viteImagePlugin } from "./vite/viteImagePlugin";
// @ts-ignore
import babelPluginLazyPlus from "solid-lazy-plus/babel";

const root = process.cwd();

const babelPluginLabels = [
"solid-labels/babel",
{ dev: process.env.NODE_ENV == "development" },
Expand All @@ -30,22 +28,18 @@ export default defineConfig({
},
},

// experimental: {islands: true},

solid: {
babel: {
plugins: [babelPluginLabels, babelPluginLazyPlus],
},
// the `solid` field is incorrectly typed
...({} as any),
},

extensions: ["mdx", "md"],

vite(options) {
return {
// define: {
// "import.meta.env.BASE_URL": JSON.stringify("/foo"),
// },
css: { postcss: "./postcss.config.js" },
server: {
port: 3000,
Expand All @@ -72,6 +66,3 @@ export default defineConfig({
};
},
});

// solid next:
// https://github.com/solidjs/solid-docs-next/blob/fc5ec0b803f0ae2a9deb55e1c6fb7c2c60b46c87/app.config.ts

0 comments on commit 15905e4

Please sign in to comment.