rollup-plugin-sass icon indicating copy to clipboard operation
rollup-plugin-sass copied to clipboard

Rollup .sass files.

Results 27 rollup-plugin-sass issues
Sort by recently updated
recently updated
newest added

I try to use the :export construct as described in https://stackoverflow.com/questions/61517117/cannot-export-sass-variables-into-javascript?noredirect=1&lq=1 to be able to use values of SASS variables in my JavaScript but can't get it working: ```sass @import...

I try to use the :export construct as described in https://stackoverflow.com/questions/61517117/cannot-export-sass-variables-into-javascript?noredirect=1&lq=1 to be able to use values of SASS variables in my JavaScript but can't get it working: ```sass @import...

Hi, I'm currently using the plugin to generate my css from an scss file imported in the main js file as such: `import './../styles/main.scss'` Running the rollup command with the...

enhancement
needs-triage

When rollup is run with ```javascript output: { fomat: 'esm', ... plugins: [rollupPluginSass({insert:true}), ... ``` multiple chunks (which don't import any css) have the `insert css` function `___$insertStyle` needlessly placed...

bug
triaged

I am currently generating the plugin like this ``` const sass = require('rollup-plugin-sass'); ... const output = 'my-output${env.prodution ? '.min' : ''}.css'; const sourceMap = `${output}.map` const outputStyle = env.production...

Any hint on how to write hash in final file name?

discussion
triaged

import sass from 'rollup-plugin-sass'; plugins: [ sass({ options: { // data: '$Text: #666;$Primary: #1badff;', file: 'src/theme.scss', }, insert: true, }), ], 我按照文档这样添加全局scss或者全局变量,并不能生效

all `@warn` statements are still visible in the output.

Transport sass dependencies information from **node-sass** to **Rollup.js**. More: #29.

This feature has a multitude of uses and actually, also, enables Sass variable exports (as pointed out, further below). ## Acceptance Criteria We need to add an example of this...

docs
triaged