Comments (3)
Hi @shunki-github ,
You can pass the sass runtime implementation via the runtime
option param:
// rollup.config.js
import rollupPluginSass from 'rollup-plugin-sass';
import sass from 'node-sass';
export default {
input: 'index.js',
output: {
file: 'bundle.js',
format: 'cjs',
},
plugins: [
rollupPluginSass({
runtime: sass
})
]
});
from rollup-plugin-sass.
Thank you!
from rollup-plugin-sass.
Not a problem 👍🏽 .
from rollup-plugin-sass.
Related Issues (20)
- CI/CD - Add publish *.yml gh-actions config HOT 1
- Docs: Update documentation regarding the `processor` option/feature HOT 1
- Update or change Rollup dependency version range HOT 2
- changelog: Add auto-changelog action step to gh-actions HOT 1
- Typescript: Use sass package option type(s) for `SassOptions` type
- Spike: Investigate rollup config options that should affect how we write output files HOT 1
- maintenance: Change main branch to 'main'
- chore: Update coveralls to coveralls-next
- Rollup replaces output file HOT 3
- Feat: Add ability to work with *.css files HOT 1
- fix: Ensure `__$insertStyle` function is inserted only once per bundle
- feat: support *.css files by default HOT 3
- Suggestions: package improvements HOT 2
- Suggestions: package maintenance improvements
- CI/CD - Add commitlint in pre-commit hook HOT 1
- CI/CD - Add 'husky' for easy commit hooks usage
- this is a bug HOT 3
- Expose sass variables to import them from the package HOT 3
- Is it possible to run your tests with ava 4.3.1 ? HOT 3
- Dep. - Update vulnerable dependencies ('AVA', 'json-schema') HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rollup-plugin-sass.