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

Sourcemap placed in wrong folder #293

Closed
creationix opened this issue Feb 24, 2017 · 2 comments
Closed

Sourcemap placed in wrong folder #293

creationix opened this issue Feb 24, 2017 · 2 comments

Comments

@creationix
Copy link

I was reading the help on the CLI tool and learned you can compile a whole folder. So I tried the CLI tool.

$ svelte compile -f amd -m -i src/components -o build/components
svelte version 1.3.0
compiling src/components/HelloWorld.html...
wrote build/components/HelloWorld.js
wrote build/components/HelloWorld.js.map

Out looks great, but when I go to my file tree, this is what I have:

.
├── build
│   └── components
│       └── HelloWorld.js
├── HelloWorld.js.map
└── src
    └── components
        └── HelloWorld.html

As you can see, the sourcemap didn't appear where it claimed it was putting it.

@Rich-Harris
Copy link
Member

Thanks! Fixed this (and a couple of semi-related sourcemap bugs) in svelte@1.6.10 and svelte-cli@1.3.1

@creationix
Copy link
Author

Thanks Rich!

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

2 participants