Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5927a5b

Browse files
jaysooFrozenPandaz
authored andcommittedAug 13, 2020
fix(react): add babel plugin for styled-jsx for libs (#3441)
1 parent 9699214 commit 5927a5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎packages/react/src/schematics/library/files/lib/.babelrc__tmpl__

+1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
],
66
"plugins": [
77
<% if (style === 'styled-components') { %>["styled-components", { "pure": true, "ssr": true }]<% } %>
8+
<% if (style === 'styled-jsx') { %>"styled-jsx/babel"<% } %>
89
]
910
}

0 commit comments

Comments
 (0)
Please sign in to comment.