Skip to content

Instantly share code, notes, and snippets.

@MaikKlein
Created July 18, 2019 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MaikKlein/ba1d2be992c561461259d94717801012 to your computer and use it in GitHub Desktop.
Save MaikKlein/ba1d2be992c561461259d94717801012 to your computer and use it in GitHub Desktop.
hello_world npm run serve
> @ serve /home/maik/src/hello_world
> 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 /home/maik/src/hello_world
[INFO]: Checking for the Wasm target...
[INFO]: Compiling to Wasm...
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended
[INFO]: :-) Done in 0.08s
[INFO]: :-) Your wasm pkg is ready to publish at ./pkg.
✅ Your crate has been correctly compiled
ℹ 「wdm」: Hash: 3066545d170c82999b9c
Version: webpack 4.36.1
Time: 960ms
Built at: 07/18/2019 11:55:20 AM
Asset Size Chunks Chunk Names
0.index.js 622 KiB 0 [emitted]
031ea22a90ecf4f26ea5.module.wasm unknown size 1 [emitted]
1.index.js 5.92 KiB 1 [emitted]
index.html 181 bytes [emitted]
index.js 367 KiB main [emitted] main
Entrypoint main = index.js
[0] multi (webpack)-dev-server/client?http://localhost ./index.js 40 bytes {main} [built]
[./index.js] 290 bytes {main} [built]
[./node_modules/ansi-html/index.js] 4.16 KiB {main} [built]
[./node_modules/ansi-regex/index.js] 135 bytes {main} [built]
[./node_modules/html-entities/index.js] 231 bytes {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost] (webpack)-dev-server/client?http://localhost 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.77 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.63 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {main} [built]
[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./pkg/hello_world.js] 3.3 KiB {1} [built]
+ 23 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[./node_modules/html-webpack-plugin/lib/loader.js!./node_modules/html-webpack-plugin/default_index.ejs] 376 bytes {0} [built]
[./node_modules/lodash/lodash.js] 528 KiB {0} [built]
[./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 472 bytes {0} [built]
[./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {0} [built]
ℹ 「wdm」: Compiled successfully.
ℹ 「wdm」: Compiling...
ℹ 「wdm」: Hash: fca0b77a943be5c2efd4
Version: webpack 4.36.1
Time: 46ms
Built at: 07/18/2019 11:55:20 AM
Asset Size Chunks Chunk Names
index.html 181 bytes [emitted]
+ 4 hidden assets
Entrypoint main = index.js
[./pkg/hello_world.js] 3.3 KiB {1} [built]
[./pkg/hello_world_bg.wasm] 42.9 KiB {1} [built]
+ 36 hidden modules
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
4 modules
ℹ 「wdm」: Compiled successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment