sass-export
sass-export copied to clipboard
Exports your scss files to Json. Easily convert your SCSS files into Json.
# 过滤掉sass文件中的注释 * 使用getArray和getStructured时,发现被注释的内容也可以被解析。 * 固增加此段代码,过滤掉sass文件中的注释。
add the file name when error is occur; since I got an error : ```bash Error: Expected expression. ╷ 127 │ #sass-export-id.deprecations--message{content:"#{}";} │ ^^ ╵ stdin 127:48 root stylesheet at...
Is there a way to either discard parse errors or send them to a file with, say, a `-e` option (similarly to the `-o` option)? My use case is that...
In sass, there is a module map built in, @use 'sass:map'; And instead of using map-get or map-keys, it allows to use map.get, map.keys syntax. It would be great if...
I have updated the node-sass package in order to be able to parse things like sass map-get. I've also added regex to remove both multiline and inline comments
 @geoemm @civan @DEfusion @civanm @SergeS
Currently if there are no comments in the SASS/SCSS files for sections, each section gets `DEFAULT_SECTION` as section name, which is set to `variables`. It would be nice to use...
Hi there. We just realised that from v1.0.3 upward the following Sass variables throw an error. ```scss $FONT-PATH: '../fonts/fonts'; ``` Changing the variable to `$FONT-PATH: 'fonts/fonts';` makes the converter tests...
I have a "_variables.scss" with two imports : `@import "~bootstrap/scss/functions"; @import "~bootstrap/scss/variables";` When i run `sass-export src/styles/common/_variables.scss -o src/exported-sass-variables.json -d "node_modules/bootstrap/scss/"` sass-export throw an error : `Error: File to import...