kyt icon indicating copy to clipboard operation
kyt copied to clipboard

System.import chunk names

Open delambo opened this issue 9 years ago • 1 comments

We have chunkFilename configured but webpack is not respecting it when System.import is used. Can we configure this?

Here's an example where we use System.import. Here's the output for the build:

ℹ️  Assets:
    191 KB     build/public/assets/main-821b96142fd542ac6898.js
    6.25 KB    build/public/assets/main-e6930ad6056b7574df11.css
    1.53 KB    build/public/assets/0-0b74b8892d1401b7c263.js
    1.08 KB    build/public/assets/1-8a4d6fa22649eccdf6f5.js

Notice that the last two file names (System.imports) are pretty ugly.

delambo avatar Sep 13 '16 15:09 delambo

PR pending against Webpack to address this: https://github.com/webpack/webpack/pull/2682

tizmagik avatar Sep 13 '16 15:09 tizmagik