rwaymouth / plugin-node-engine-extender

Pattern Lab Node pattern engine extender
1 stars 2 forks source link

Fixes the plugin config not outputting proper syntax #3

Open laurenhamel opened 5 years ago

laurenhamel commented 5 years ago

Closes #2 - The getPluginFrontendConfig function was not outputting proper syntax, which caused the plugin loader to fail and throw errors to the console window. This was also causing other plugins to fail because of the errors getting thrown. This also adds a minor fix, where I was unable to use/install the package from a local folder due to the app-root-path package not finding the correct root directory.