Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-sass-unicode

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-sass-unicode - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "grunt-sass-unicode",
"description": "This is to solve unicode issue with SASS.",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/linmic/grunt-sass-unicode",

@@ -6,0 +6,0 @@ "author": {

@@ -7,2 +7,18 @@ # grunt-sass-unicode

## Intend to solve
You might encounter an issue that you need to generate a css file with SASS and a custom font, and it turns into something like this:
```scss
content: "口";
```
when it should be something like this:
```scss
content: '\f101';
```
This plugin is just about replacing the broken characters inside `content` value with the correct ones.
## Getting Started

@@ -31,2 +47,4 @@ This plugin requires Grunt `~0.4.5`

This plugin follows [files object format](https://gruntjs.com/configuring-tasks#files-object-format), where the *property name* is the **destination file**, and its *value* is the **source**.
```js

@@ -52,6 +70,7 @@ grunt.initConfig({

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
Lint and test your code before submitting your contribution.
## License
[MIT](https://github.com/Microsoft/monaco-editor/blob/master/LICENSE.md)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc