Closed H-i-red closed 6 years ago
I think it should be:
'basePath' => '@modules/stylemodule/translations'
not:
'basePath' => '@stylemodule/translations'
And this:
$this->sourcePath = "@modules/stylemodule/assetbundles/stylemodule/dist";
not:
$this->sourcePath = "@stylemodule/assetbundles/stylemodule/dist";
Good call @H-i-red. That fixed an issue for me.
Really strange. This is something I definitely fixed/changed in the last release, I'm not sure how it got reverted. I even generated a module with it, and go the correct code.
Anyway, it's been fixed in 1.4.2:
https://github.com/nystudio107/generator-craftplugin/releases/tag/1.4.2
This is also live up on https://pluginfactory.io/