resolve-tspaths icon indicating copy to clipboard operation
resolve-tspaths copied to clipboard

Vite's ?inline import for style sheets causes bug

Open lukemovement opened this issue 1 year ago • 2 comments

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<{

lukemovement avatar Nov 08 '23 15:11 lukemovement

Hi @lukemovement, could you please provide an example repository that demonstrates this issue?

benyap avatar Feb 16 '24 11:02 benyap

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Apr 01 '24 01:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar May 01 '24 01:05 github-actions[bot]