doesn't work #3

Closed
opened 2022-11-21 15:53:45 -08:00 by DetachHead · 8 comments
DetachHead commented 2022-11-21 15:53:45 -08:00 (Migrated from github.com)

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

when i run `svelte-strip`, there is no output and it seems to silently fail ```svelte <!-- 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 commented 2022-11-21 15:55:11 -08:00 (Migrated from github.com)

Use

svelte-strip strip src asdf

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

Use ``` svelte-strip strip src asdf ``` That will strip all svelte files in src and put them in asdf.
DetachHead commented 2022-11-21 15:57:12 -08:00 (Migrated from github.com)

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

oops, that was the command i was running i just pasted the wrong one in the issue. same result regardless
hperrin commented 2022-11-21 15:58:55 -08:00 (Migrated from github.com)

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

Oh. Same result with the `strip` command? See if you get a version number with `--version`.
DetachHead commented 2022-11-21 15:59:25 -08:00 (Migrated from github.com)
> svelte-strip --version
1.0.2
``` > svelte-strip --version 1.0.2 ```
hperrin commented 2022-11-21 16:02:27 -08:00 (Migrated from github.com)

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.

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 commented 2022-11-21 16:18:15 -08:00 (Migrated from github.com)

thanks!

btw, do you have time to take a look at https://github.com/hperrin/svelte-material-ui/pull/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

thanks! btw, do you have time to take a look at https://github.com/hperrin/svelte-material-ui/pull/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 commented 2022-11-21 16:19:50 -08:00 (Migrated from github.com)

Fixed in f0738902b0.
Publishing now...

Fixed in f0738902b0fe3643a718ca71cb54f004bd187517. Publishing now...
hperrin commented 2022-11-21 16:25:39 -08:00 (Migrated from github.com)

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.

> thanks! > > btw, do you have time to take a look at [hperrin/svelte-material-ui#533](https://github.com/hperrin/svelte-material-ui/pull/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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sciactive/svelte-strip#3
No description provided.