Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • E Engel Simulator 2020
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value stream
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Engel Simulator 2020
  • Engel Simulator 2020
  • Merge requests
  • !58

Merged
Created Mar 09, 2021 by 5422m4n@svenMaintainer

Feat/fix svg level loader tsc hack + webpack optimizations

  • Overview 8
  • Commits 3
  • Pipelines 2
  • Changes 8
  • 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)
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feat/fix-svg-level-loader-tsc-hack