Closed sthzg closed 8 years ago
I will add a unit test to illustrate this after posting the issue. To manually recreate:
yo react-webpack:component hello # create src/components/hello.cssmodule.less # create src/components/Hello.js # create test/components/HelloTest.js cat test/components/HelloTest.js # ... # import Hello from 'components//Hello.js'; # ˜˜
As illustrated, when generating components wo/ a nested namespace (i.e. opposed to yo react-webpack:component my/hello) it will print two slashes.
yo react-webpack:component my/hello
Closed with #254
I will add a unit test to illustrate this after posting the issue. To manually recreate:
As illustrated, when generating components wo/ a nested namespace (i.e. opposed to
yo react-webpack:component my/hello
) it will print two slashes.