mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
Switch the generation of everything so we generate tests and they can actually pass.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
'use strict';
|
||||
|
||||
var <% classedName + 'ActionCreators' %> = {
|
||||
var <%= classedName %> = {
|
||||
|
||||
}
|
||||
|
||||
<% if (es6) { %> export default <%= classedName + 'ActionCreators' %>; <% }
|
||||
else { %>module.exports = <%= classedName + 'ActionCreators' %>; <% } %>
|
||||
<% if (es6) { %> export default <%= classedName %>; <% }
|
||||
else { %>module.exports = <%= classedName %>; <% } %>
|
||||
|
||||
Reference in New Issue
Block a user