Rename the react:component template to a .erb file
This commit is contained in:
parent
8a45592e5e
commit
c213e4d5d2
2 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ module React
|
||||||
template_extension = if options[:coffee]
|
template_extension = if options[:coffee]
|
||||||
'js.jsx.coffee'
|
'js.jsx.coffee'
|
||||||
elsif options[:ts]
|
elsif options[:ts]
|
||||||
'js.jsx.tsx'
|
'js.jsx.tsx.erb'
|
||||||
elsif options[:es6] || webpacker?
|
elsif options[:es6] || webpacker?
|
||||||
'es6.jsx'
|
'es6.jsx'
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue