next-plugin-yaml

Import `.yml` files in your [next.js] project

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
next-plugin-yaml
811.0.15 years ago5 years agoMinified + gzip package size for next-plugin-yaml in KB

Readme

Next.js + YAML
Import .yml files in your next.js project.

Installation

yarn add --dev next-plugin-yaml

Usage

// next.config.js
const withYaml = require('next-plugin-yaml');

module.exports = withYaml({
 // other config here
});

Accepts both .yml and .yaml file extensions. Uses js-yaml-loader underneath.

License

MIT