Seed: Question: Is "--target no-modules" required when building?

Created on 9 Jul 2019  路  4Comments  路  Source: seed-rs/seed

I noticed that all the build targets use wasm-pack build --target no-modules ....

Is --target no-modules required? It prevents me from calling external js functions from within my app.

Thanks!

Brian

Most helpful comment

@bgourlie Could you test it with branch in related PR? (web instead of no-modules)

All 4 comments

@bgourlie Could you test it with branch in related PR? (web instead of no-modules)

I modified my current project according to the changes in your branch, and it worked!

@bgourlie Can we close it?

Yep!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bheisler picture bheisler  路  4Comments

sbditto85 picture sbditto85  路  3Comments

mankinskin picture mankinskin  路  5Comments

FliegendeWurst picture FliegendeWurst  路  3Comments

jgrund picture jgrund  路  6Comments