-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
end of the stream or a document separator is expected #18
Comments
Apologies for the late reply to this issue - would you be able to provide a sample YAML file that the transformation is throwing this error on? |
@brandon-welsch if you switch the file to: ---
test: "value" do you still see this issue? |
I tested this one, it's exactly the same :/ |
Why isn't this fixed? It makes this package unsable. |
@lukaszarpak could you provide a minimal reproduction repo? I have not yet been able to reproduce this issue |
@tonyketcham I added the minimal reproduction repo: https://github.com/lukaszarpak/modyfi-vite-plugin-yaml-bug-example After thorough investigation I noticed the error appears ONLY when export default defineConfig({
plugins: [
vue(),
ViteYaml(),
VueI18nPlugin({
include: [resolve(__dirname, "./translations/**")], // this line breaks the app
}),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
}) |
In our case that |
Actually this package |
I used
I hadn't include any option that time, and still it can't be used, can be see on my picture uploaded. if this bug was fixed, I will close the issue :) |
The text was updated successfully, but these errors were encountered: