Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

publicPath.js 559B

123456789101112
  1. /* This sets up webpack's chunk loading to load resources from the same
  2. directory where it loaded index.js from. This file must be imported
  3. before any lazy-loading is being attempted. */
  4. if (document.currentScript && document.currentScript.src) {
  5. const url = new URL(document.currentScript.src);
  6. __webpack_public_path__ = `${url.pathname.replace(/\/[^/]*$/, '')}/`;
  7. } else {
  8. // compat: IE11
  9. const script = document.querySelector('script[src*="/index.js"]');
  10. __webpack_public_path__ = `${script.getAttribute('src').replace(/\/[^/]*$/, '')}/`;
  11. }