Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

1.0.0-alpha.1 output is wrong #61

Closed
Razi91 opened this issue Apr 10, 2020 · 1 comment · Fixed by #92
Closed

1.0.0-alpha.1 output is wrong #61

Razi91 opened this issue Apr 10, 2020 · 1 comment · Fixed by #92

Comments

@Razi91
Copy link

Razi91 commented Apr 10, 2020

Alpha.1 version returns assets as array:

"chunks": {
      "manage":[
         "js/vendors.js",
         "js/ui.js",
         "js/manage.js"
      ]
}

Is it intentional? It's against the given example. The valid output (according to 0.4) is just last entry, or rather it's value in assets:

"assets": {
      "js/manage.js": {
         "name":"js/manage.js",
         "path":"/home/user/dev/proj/dist/js/manage.js",
         "publicPath":"http://localhost:9090/js/manage.js"
      },
}

Previously was:

"chunks": {
      "manage":[
         {
            "name":"js/manage.js",
            "publicPath":"http://localhost:9090/js/manage.js",
            "path":"/home/user/dev/proj/dist/js/manage.js"
         }
      ],
}
@melck
Copy link
Contributor

melck commented Apr 11, 2020

Hello,

Indeed it's a intentional breaking change. Previous json structure can't handle assets who are not related to chunk (see #52 for more details).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants