next-plugin-yaml
v1.0.1
Published
Import `.yml` files in your [next.js] project
Downloads
27,999
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.