Coder Social home page Coder Social logo

deno_sass's Introduction


deno_sass logo

deno_sass

High quality bindings to the sass_rs crate for Deno.

stars issues deno version vr scripts

๐ŸŒ€ The library is not yet available on Windows. Expect breaking changes.

Example

import { compile } from "https://x.nest.land/[email protected]/mod.ts";

compile("a { color: #000; }", {
  output_style: "nested",
  precision: 5,
  indented_syntax: false,
  include_paths: []
}).result;

Join Discord

Building from source

Prerequisites

Building

$ cargo build

Example

$ deno run --unstable -A examples/compile.ts

Contribution

Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.

Copyright

deno_sass is licensed under the MIT license. Please see the LICENSE file.

deno_sass's People

Contributors

littledivy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

theoparis

deno_sass's Issues

Error handling

Don't just panic on errors...return them back to Deno.

Abort Trap 6

Describe the bug
I can't compile using this library at all. Always get an obtuse Abort trap 6 error.
Similar to this issue I suspect.
webpack-contrib/sass-loader#65

To Reproduce
Steps to reproduce the behavior:
Run the example in this repo.
deno run --unstable -A examples/compile.ts

Expected behavior
Compiles. Instead I get.
INFO load deno plugin "deno_sass" from local "~/Web/deno-sass/.deno_plugins/deno_sass_46a31ad88ea58f495e4eba92605824a4.dylib"
Abort trap: 6

Desktop (please complete the following information):

  • OS: OSX 13
  • Command Line
  • Version Master branch

Additional context
I just tried to compile example to make sure it was working as it's same error (never worked) in my main deno project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.