resolve-tspaths
resolve-tspaths copied to clipboard
Vite's ?inline import for style sheets causes bug
When reexporting a style sheet from a typescript file, with a file extension of .scss?inline
, running resolve-tspaths
does not update the dynamic imports in the relevant type definition file.
import SelectField from "@/api/component.input/select-field/select-field.vue";
import { FormComponentWrapper } from "@/api/form-builder/core/component-wrapper";
export { SelectField, SelectField as default };
export const FormSelectField = FormComponentWrapper(SelectField);
import SelectFieldStyles from "./select-field.module.scss?inline";
export { SelectFieldStyles };
import SelectField from "./select-field.vue";
export { SelectField, SelectField as default };
export declare const FormSelectField: <Data>(options?: Omit<import("@/api/form-builder/core/component-wrapper").FormBuilderComponentOptions<import("vue").DefineComponent<{
Hi @lukemovement, could you please provide an example repository that demonstrates this issue?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.