@mdsvex/language-server 0.0.0 → 0.1.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/tsconfig.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "include": ["src/**/*", "bin/**/*", "test/**/*"],
3
+ "compilerOptions": {
4
+ "target": "es2020",
5
+ "module": "esnext",
6
+ "moduleResolution": "bundler",
7
+ "forceConsistentCasingInFileNames": true,
8
+ "esModuleInterop": true,
9
+ "strict": true
10
+ }
11
+ }
@@ -0,0 +1,27 @@
1
+ import { defineConfig } from "vite";
2
+ import { resolve } from "path";
3
+
4
+ export default defineConfig({
5
+ build: {
6
+ lib: {
7
+ entry: resolve(__dirname, "src/index.ts"),
8
+ formats: ["cjs"],
9
+ fileName: "server",
10
+ },
11
+ outDir: "dist",
12
+ target: "node20",
13
+ ssr: true,
14
+ minify: false,
15
+ rollupOptions: {
16
+ // the vite plugin half of mdsvex loads vite lazily, the editor never reaches it
17
+ external: ["typescript", "vite"],
18
+ output: {
19
+ entryFileNames: "server.cjs",
20
+ },
21
+ },
22
+ },
23
+ ssr: {
24
+ // Bundle all dependencies into the server binary
25
+ noExternal: true,
26
+ },
27
+ });
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # @mdsvex/language-server
2
-
3
- Placeholder. The first real release is published from CI.