Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add ESM usage example in Getting Started #5294

Merged
merged 4 commits into from
Jan 28, 2024

Commits on Jan 26, 2024

  1. Add ESM example and type module configuration

    Following issue fastify#5292, this commit introduces an ESM example in the 'Your First Plugin' section of the documentation, enhancing clarity for new contributors. 
    Additionally, it updates the `package.json` to include `"type": "module"`, ensuring compatibility with ESM syntax and preventing module resolution errors for users following the documentation.
    
    
    Signed-off-by: Atila Guler <128936466+atilagulers@users.noreply.github.com>
    atilagulers committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    edc7f50 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Fix linting errors in Getting-Started.md

    Adjusted line 58 to comply with the maximum line length of 80 characters as per markdown linting rules.
    
    
    Signed-off-by: Atila Guler <128936466+atilagulers@users.noreply.github.com>
    atilagulers committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    945205b View commit details
    Browse the repository at this point in the history
  2. Apply suggestions from code review

    Signed-off-by: Atila Guler <128936466+atilagulers@users.noreply.github.com>
    atilagulers committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    4b6b18c View commit details
    Browse the repository at this point in the history
  3. Apply suggestion

    Signed-off-by: Atila Guler <128936466+atilagulers@users.noreply.github.com>
    atilagulers committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    29ad595 View commit details
    Browse the repository at this point in the history