You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use rollup-plugin-esbuild to build file, and i found it's use transform API internal. After build files, i found they are still retain path which configured in tsconfig.json in rootDir.
At first, i think it's maybe the bug from rollup-plugin, but after i used cat path/to/file | esbuild --loader=tsx try to review what esbuild output original, I found there's nothing changed:
~/workspace/neutron refactor/packages*
❯ cat src/components/easy-form/index.tsx | esbuild --loader=tsx
import React from "react";
import get from "lodash/get";
import isNil from "lodash/isNil";
import merge from "lodash/merge";
import isObjectLike from "lodash/isObjectLike";
import {Button, Form} from "zent";
import {EasyFormPreview} from "./components/preview";
import {useFormConfigs} from "./hooks/use-form-configs";
import useUpdateTimes from "@hooks/use-update-times";
import {group} from "./utils/get-group-config";
import {list} from "./utils/get-list-config";
import {invariant} from "./utils/invariant";
import {RenderField} from "./components/render-filed";
import {useFormWatches} from "./hooks/use-form-watches";
import {propWalker} from "./utils/props-walker";
const {useForm, ValidateOption} = Form;
Hi,
I use
rollup-plugin-esbuild
to build file, and i found it's use transform API internal. After build files, i found they are still retain path which configured intsconfig.json
in rootDir.At first, i think it's maybe the bug from rollup-plugin, but after i used
cat path/to/file | esbuild --loader=tsx
try to review what esbuild output original, I found there's nothing changed:And that my
tsconfig.json
:The text was updated successfully, but these errors were encountered: