Skip to content

Build directory #2

Description

@intellix

Been having a go at implementing this myself and found that my directory structure is a bit iffy so I tried this one again and found the same thing.

After an ng build the following structure is created:

dist
    /app1
        main.bundle.js
        vendor.bundle.js
        etc.js
        /app1
            index.html

It looks like the index.html ends up in a folder with the same name referencing files that are in the upper directory. Have you found any workaround/fix for this? I tried setting outDir from dist/app1 to dist aaand tried changing the index property to index.html. I'm thinking that CLI is assuming something wrong here. I imagine it can be fixed with a Node server and setting the static folder to be 1x up, but it's a bit weird

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions