Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with raw-loader → expose AbstractSyntaxTree? #3

Closed
mesqueeb opened this issue Sep 3, 2020 · 1 comment
Closed

Usage with raw-loader → expose AbstractSyntaxTree? #3

mesqueeb opened this issue Sep 3, 2020 · 1 comment

Comments

@mesqueeb
Copy link

mesqueeb commented Sep 3, 2020

I just wanna say that this package is awesome! Being able to create an AbstractSyntaxTree from a SASS file is very cool.

I already use the webpack raw-loader a lot in a project of mine, and now I wanna do something with SASS files as well. I'm thinking of using this package's AbstractSyntaxTree class.

three questions:

  1. If I use raw-loader to get the Sass file content as string, I can just pass it to new AbstractSyntaxTree().parse(sassFileText) right?
  2. If the above is correct: can you expose the AbstractSyntaxTree class to the dist/server.js main in-point?
  3. Can you host sass-lsp-server on NPM, so I can consume it? : )
@TheRealSyler
Copy link
Owner

TheRealSyler commented Oct 27, 2020

@mesqueeb sorry for the late response, you should not use this because im no longer working on it and its not finished, if you still want to use it, you can copy the AbstractSyntaxTree code finish it and publish it yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants