Skip to content

ksmarty/snowpack-plugin-yaml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snowpack-plugin-yaml

A Snowpack plugin to convert YAML files to ESM.

First, add snowpack-plugin-yaml to your snowpack.config.js:

  plugins: [
    ...
    "snowpack-plugin-yaml",
  ],

Then, import your YAML file like so:

import test from "./content/test.yaml";

This is a fork of snowpack-plugin-toml by amdg.

About

A Snowpack plugin to convert YAML files to ESM.

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 54.4%
  • JavaScript 45.6%