Skip to content

Commit ae13f25

Browse files
committed
refactor: update yaml api
1 parent cb37727 commit ae13f25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/loaders/yaml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default async function ( buffer, map, meta ) {
44

55
if ( this.cacheable ) this.cacheable();
66

7-
const config = options.yaml.parse( buffer );
7+
const config = options.yaml.fromYaml( buffer );
88

99
callback( null, `export default ${ JSON.stringify( config ) }`, map, meta );
1010
}

0 commit comments

Comments
 (0)