Skip to content

Paths of resources are not correct in zip #3

@Niklasschoenb

Description

@Niklasschoenb

Assume the following folder structure:

dist
|- css
      |-....css files
 |- i18n
      |-....i18n files
 |- manifest.json
 |- xs-app.json
 |- Component.js
 |-....further app content

Now I run the command "cf html5-push dist ""
While the command is being executed, I grab the zip file that is generated.
It has the following content structure:

dist
  |- css
        |-dist
              |-css
                   |-....css files
  |- i18n
        |-dist
             |-i18n
                   |-....i18n files
  |- manifest.json
  |- xs-app.json
  |- Component.js
  |-....further app content

Of course my webapp won't be able to load the css / i18n files because there is a superfluous "dist" + folder name in the path. But what is really strange, even when adding the superfluous "dist" + folder name in the url path to the resource files, the files are not found. Only the files under the root level such as "Component.js" are found.
This happens under Windows, cf cli version 6.38

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions