svelte-strip strip cannot work without "type": "module" in package.json #2

Closed
opened 2022-06-09 21:40:57 -07:00 by Angry-Sparrow · 1 comment
Angry-Sparrow commented 2022-06-09 21:40:57 -07:00 (Migrated from github.com)

I try to remove "type": "module" from package.json.

Wrong report like this:

image

I don't need "type": "module" in my package.json, what should I do to solve this problem?

Please help me, thanks very much!

I try to remove `"type": "module"` from package.json. Wrong report like this: ![image](https://user-images.githubusercontent.com/48384080/172991229-28d52510-8555-4a47-a154-02cd611a5051.png) I don't need `"type": "module"` in my package.json, what should I do to solve this problem? Please help me, thanks very much!
Angry-Sparrow commented 2022-06-09 21:50:16 -07:00 (Migrated from github.com)

I try to remove "type": "module" from package.json.

Wrong report like this:

image

I don't need "type": "module" in my package.json, what should I do to solve this problem?

Please help me, thanks very much!

Its my fault. I used the wrong type in svelte-compile.js.

> I try to remove `"type": "module"` from package.json. > > Wrong report like this: > > ![image](https://user-images.githubusercontent.com/48384080/172991229-28d52510-8555-4a47-a154-02cd611a5051.png) > > I don't need `"type": "module"` in my package.json, what should I do to solve this problem? > > Please help me, thanks very much! Its my fault. I used the wrong type in `svelte-compile.js`.
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#2
No description provided.