Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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()]
  }
];
 
PREVIOUS NEXT
Tagged: #rollup #scss
ADD COMMENT
Topic
Name
3+1 =