Skip to content
This repository has been archived by the owner on May 1, 2022. It is now read-only.

Let babel know the absolute file path of the file currently being processed #61

Merged
merged 1 commit into from
Mar 2, 2020

Conversation

jacobdeichert
Copy link
Owner

Which issue does this fix?

Closes #58

Describe the solution

This allows babel plugins to understand what the file's location is when processing it. This actually fixes a bug with babel-plugin-inline-json-import as described in https://github.com/jakedeichert/svelvet/issues/58.

Docs: https://babeljs.io/docs/en/options#filename

This allows babel plugins to understand what the file's location is when processing it. This actually fixes a bug with babel-plugin-inline-json-import as described in https://github.com/jakedeichert/svelvet/issues/58.

Docs: https://babeljs.io/docs/en/options#filename
@jacobdeichert jacobdeichert merged commit 3ae4999 into master Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importing JSON files
1 participant