Open emilk opened 2 years ago
@emilk could be wasm-pack version?
I just tried on master acb9e23 with
wasm-pack 0.10.2
And yarn serve
produces following output
~/Projects/luminance-rs/examples/web$ yarn serve
yarn run v1.22.18
$ webpack-dev-server
🧐 Checking for wasm-pack...
✅ wasm-pack is installed.
ℹ️ Compiling your crate in development mode...
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from .
ℹ 「wdm」: wait until bundle finished: /
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Compiling proc-macro2 v1.0.37
Compiling unicode-xid v0.2.2
Compiling syn v1.0.91
Compiling log v0.4.16
...
Heading over to https://github.com/phaazon/luminance-rs/tree/master/examples/web I follow the instructions and run
yarn install
and thenyarn serve
and get this:I know nothing about
yarn
, but could it beindex.html
is missing?