I recently created a Vue component using TypeScript that resulted in a separate CSS file being generated after the build process. However, I noticed that when the client imports this component, the CSS file is not imported automatically and needs to be explicitly imported. How can we resolve this issue and allow the client to automatically import the CSS file? Is there a problem with my configuration? You can view the source code for reference.
Here is an example:
import msplit from 'msplit';
import 'msplit/dist/lib/lib.css';
Vue.use(msplit);