elmish/templates

Discrepancy in naming (project name conflict when containing . and -)

et1975 opened this issue · 1 comments

Created a new project and webpack.config uses _ while the project name uses -:

~/sources/scaffold-elmsih                                                                                                                                                                                                     
▶ node node_modules/webpack/bin/webpack.js 
Bundling for development...
Hash: 3aea6d8a27453c0be041
Version: webpack 2.4.1
Time: 26ms

ERROR in Entry module not found: Error: Can't resolve '/Users/eugene.tolmachev/sources/scaffold-elmsih/scaffold_elmsih.fsproj' in '/Users/eugene.tolmachev/sources/scaffold-elmsih'

Reference dotnet/templating#588

Apparently it can be solved by adding a hyphen to sourceName in template.json, like fable-elmish-react-template.