Skip to content
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

Overiding a format object from a preset should not override the whole object #18

Open
Dan503 opened this issue Sep 4, 2021 · 0 comments

Comments

@Dan503
Copy link
Owner

Dan503 commented Sep 4, 2021

For example, the es6 preset format object looks like this:

{
      imports: `import $name from '$path'`,
      functions: '  $name()',
}

If I want to change functions: ' $name()', to something else, I should be able to override that without also overriding the imports: import $name from '$path', value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant