mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-03 02:40:57 -05:00
target node10
This commit is contained in:
+4
-2
@@ -5,8 +5,10 @@ writeFileSync(
|
||||
"build/cli.js",
|
||||
"#!/usr/bin/env node\n" +
|
||||
contents.replace(
|
||||
"Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('meow')); })",
|
||||
"import(\"meow\")"
|
||||
`const meow = await Promise.resolve().then(function() {
|
||||
return /* @__PURE__ */ _interopNamespace(require("meow"));
|
||||
});`,
|
||||
'const meow = await import("meow");'
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ import { defineConfig } from "vite";
|
||||
export default defineConfig({
|
||||
build: {
|
||||
outDir: "build",
|
||||
target: "esnext",
|
||||
target: "node10",
|
||||
ssr: true,
|
||||
rollupOptions: {
|
||||
input: "./src/cli.tsx",
|
||||
|
||||
Reference in New Issue
Block a user