Skip to content

Build is unstable when project is build in a different path #2028

Closed
atk4/ui
#2045
@mvorisek

Description

@mvorisek

https://github.com/atk4/ui/blob/dedb4cea3191e45ba2334ad48c0f98c6d25edf32/.github/workflows/test-unit.yml#L344 hack is needed to make babel build stable, otherwise a variable name in the resulting build is containing the resolved local path, making the build unstable

how to reproduce:

  1. checkout https://github.com/atk4/ui
  2. cd into js/ dir
  3. run npm install (without the patch from above applied) and npm run build
  4. notice the git changes in ../public/js dir containing a local path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions