amazon-archives / aws-amplify-serverless-plugin

Plugin for the Serverless Framework to output AWS Amplify configuration files.
Apache License 2.0
124 stars 30 forks source link

Refactor writeJavaScriptConfiguration (PR submitted) #22

Closed rayjanwilson closed 5 years ago

rayjanwilson commented 5 years ago

currently writeJavaScriptConfiguration creates the file by appending strings.

this can be simplified by building a config object, then using JSON.stringify() with indentation options to accomplish the same thing.

this will allow us to extend the function to support more amplify features

PR incoming

adrianhall commented 5 years ago

Thank you for the PR!