0

How can I configure the baseUrl for outputTarget type of dist? This option only seems to be working for type of www, but looking in my Network panel, sources are still loaded from a specific url:

/assets/js/component1.b0eftcs7.js
/assets/js/component2.b0eftcs7.js
...

...and it looks like I have no option of configuring the /assets/js part.

stencil.config.js

exports.config = {
  srcDir: "./webcomponents",
  outputTargets: [
    {
      type: "dist",
      dir: "./build/webcomponents/"
    }
  ]
}
kraftwer1
  • 5,253
  • 10
  • 36
  • 54

0 Answers0