Rollup scss .d.ts
# add in rollup.config.js
external: [/\.scss$/],
# example
export default [
{
input: 'dist/esm/types/index.d.ts',
output: [{ file: 'dist/index.d.ts', format: 'esm' }],
external: [/\.scss$/],
plugins: [dts()]
}
];
Injury