babel-plugin-caralho
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Babel plugin for writing curse words instead of important because reasons", | ||
@@ -4,0 +4,0 @@ "repository": "https://github.com/SaraVieira/babel-caralho", |
# babel-plugin-caralho | ||
Babel plugin for writing curse words instead of important because reasons | ||
Babel plugin for writing curse words instead of important because reasons | ||
<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/TcwA1EShekGpPzRyQvGn9ysQ/SaraVieira/babel-plugin-caralho'> | ||
<img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/TcwA1EShekGpPzRyQvGn9ysQ/SaraVieira/babel-plugin-caralho.svg' /> | ||
</a> | ||
## Example | ||
The example is in styled-components but it also works with [Glamor](https://github.com/threepointone/glamor) as seen [here](https://astexplorer.net/#/gist/6225cf36044cc4b94fc93017d7ec2090/latest) and [Emotion](https://github.com/emotion-js/emotion) as seen [here](https://astexplorer.net/#/gist/a1d088dd71fcaec5cab193f25b4433a6/3ea1da764aec36d0597ae5fd90d20fc0ec1abe74) because it just looks for strings. | ||
**In** | ||
@@ -11,3 +18,3 @@ | ||
import React from 'react'; | ||
import styled from 'style-components'; | ||
import styled from 'styled-components'; | ||
@@ -36,3 +43,3 @@ const Title = styled.h1` | ||
import React from 'react'; | ||
import styled from 'style-components'; | ||
import styled from 'styled-components'; | ||
@@ -198,2 +205,6 @@ const Title = styled.h1` | ||
### Italian | ||
* cazzo | ||
* fanculo | ||
* merda | ||
@@ -210,2 +221,2 @@ And all of this will become important after babel does his thing. | ||
Use as you please to confuse people and enjoy (MIT) | ||
Use as you please to confuse people and enjoy (MIT) |
Sorry, the diff of this file is not supported yet
83269
8
219