Webpack result is not included in the npm package
I thought I opened a ticket some days ago for this bug, but I can't find it anymore. So I reopen it.
The dist
folder is in gitignore. So, on the resulting npm package, the folder is not here.
This bug is not visible when you manually install a plugin with the --path option, because it does not ignore the dist
folder.
I see 2 solutions:
- remove the dist folder from the .gitignore, and you have to manually build the package before publishing it
or
- the plugin installation script must launch the build command