Skip to content

Use trunk instead of wasm-pack for yew #533

Open
@wyvernbw

Description

@wyvernbw

In the yew docs they recommend using trunk to build your app: https://yew.rs/docs/getting-started/build-a-sample-app
I made the following change to dev.ts:

	buildProc = Deno.run({
		cmd: ['trunk', 'build'],
		stdout: 'inherit',
		stderr: 'inherit',
		cwd,
	});

It's a drop in replacement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions