Feat/fix svg level loader tsc hack + webpack optimizations
- in order to get rid of the additional
npm run rust-web-modules
that did a tsc
run for svg-level-loader.ts
it needed to
- change the
svg_loader.rs
to point to the folder where the svg-level-loader.ts
is living
- change the webpack config to handle
.ts
files
- additionally the workflow is now also simplified by the help of the webpack plugin
WasmPackPlugin
- that takes care of
wasm-pack
and ts
complication and listens for change
- additionally it also listens for changes in
svg-level-loader.ts
- the README.md is now also reflecting this simplified workflow that only requires
cd www && npm run start
- pipeline also changed accordingly
- webpack defaults now to production mode, only for local dev and the dev ci run it uses development mode hence non obfuscated code (separate commit)