Skip to content

sourceMap is not true by default #230

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

Closed
dummdidumm opened this issue Aug 28, 2020 · 1 comment · Fixed by #232
Closed

sourceMap is not true by default #230

dummdidumm opened this issue Aug 28, 2020 · 1 comment · Fixed by #232
Assignees

Comments

@dummdidumm
Copy link
Member

Describe the bug
According to the documentation, sourceMap is true by default, but if I'm interpreting the code correctly, it's set to false by default.

To Reproduce
Use autopreprocess mode without any options, have this file

<script lang="ts">
  interface A {}
  export let a;
</script>

Warning is in the interface line, not in the export line.

Expected behavior
Align docs and code.

Information about your project:

  • Your browser and the version: -
  • Your operating system: Windows
  • svelte-preprocess version 4.1.1
  • Rollup
@kaisermann
Copy link
Member

Hey 👋 The doc is indeed wrong 😅. Fixed!

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

Successfully merging a pull request may close this issue.

2 participants