Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/lilconfig/readme.md

    r59329aa re29cc2e  
    6868import yaml from 'yaml';
    6969
     70function loadYaml(filepath, content) {
     71    return yaml.parse(content);
     72}
     73
    7074const options = {
    7175    loaders: {
    72         '.yaml': (filepath, content) => {
    73             return yaml.parse(content);
    74         },
     76        '.yaml': loadYaml,
     77        '.yml': loadYaml,
    7578        // loader for files with no extension
    76         noExt: (filepath, content) => {
    77             return yaml.parse(content);
    78         }
     79        noExt: loadYaml
    7980    }
    8081};
Note: See TracChangeset for help on using the changeset viewer.