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

doesn't work #3

Closed
DetachHead opened this issue Nov 21, 2022 · 8 comments
Closed

doesn't work #3

DetachHead opened this issue Nov 21, 2022 · 8 comments

Comments

@DetachHead
Copy link

DetachHead commented Nov 21, 2022

when i run svelte-strip, there is no output and it seems to silently fail

<!-- src/asdf.svelte -->
<script lang="ts">
    export const foo: string = ''
</script>
> svelte-strip strip src asdf
>

windows 10, svelte-strip 1.0.2, node 18.10.0

@hperrin
Copy link
Member

hperrin commented Nov 21, 2022

Use

svelte-strip strip src asdf

That will strip all svelte files in src and put them in asdf.

@DetachHead
Copy link
Author

oops, that was the command i was running i just pasted the wrong one in the issue. same result regardless

@hperrin hperrin closed this as completed Nov 21, 2022
@hperrin hperrin reopened this Nov 21, 2022
@hperrin
Copy link
Member

hperrin commented Nov 21, 2022

Oh. Same result with the strip command? See if you get a version number with --version.

@DetachHead
Copy link
Author

> svelte-strip --version
1.0.2

@hperrin
Copy link
Member

hperrin commented Nov 22, 2022

It might be a Windows thing. I haven't tested it on Windows. Let me pull up my Windows dev machine and I'll test it.

@DetachHead
Copy link
Author

DetachHead commented Nov 22, 2022

thanks!

btw, do you have time to take a look at hperrin/svelte-material-ui#533? the reason i'm trying to use svelte-strip is because i'm trying to publish my fork in the mean time before it gets merged

@hperrin
Copy link
Member

hperrin commented Nov 22, 2022

Fixed in f073890.
Publishing now...

@hperrin
Copy link
Member

hperrin commented Nov 22, 2022

thanks!

btw, do you have time to take a look at hperrin/svelte-material-ui#533? the reason i'm trying to use svelte-strip is because i'm trying to publish my fork in the mean time before it gets merged

I commented on this. This would basically remove types from the svelte components.

@hperrin hperrin closed this as completed Nov 22, 2022
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