Skip to content

import lume failed (Netlify deploy) #129

Answered by oscarotero
Isaac-Tait asked this question in Q&A
Discussion options

You must be logged in to vote

Hi.
Lume is using typescript now, so you have to update your imported files from *.js to *.ts.
In this file it should be:

import { stringify } from "lume/deps/yaml.ts";

_config.js is still working for now with *.js but I encourage to change to *.ts, to prevent future errors when javascript files are removed.
Thanks!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Isaac-Tait
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants