1.0.1 • Published 5 years ago
next-plugin-yaml v1.0.1
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.