Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

158
Views
cómo mover todas las etiquetas <script> del paquete js de index.html a un solo archivo js

Estoy tratando de mover mi secuencia de comandos webEngage a otro archivo, para poder pasarlo como un punto de entrada en mi paquete web. Esto es lo que ya tengo en mi index.ejs

 <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> </head> <body> <!-- ICONS SPRITE --> <div style="display: none"> <% if (htmlWebpackPlugin.files.sprites) { for (var spriteFileName in htmlWebpackPlugin.files.sprites) { %> <%= htmlWebpackPlugin.files.sprites[spriteFileName] %> <% } } %> </div> <div id="root"></div> <noscript> scripts is disabled, please enable javascript and try again! </noscript> <!-- WebEngage Script --> <script id="_webengage_script_tag" type="text/javascript"> var webengage; !(function(w, e, b, n, g) { function o(e, t) { e[t[t.length - 1]] = function() { r.__queue.push([t.join('.'), arguments]); }; } . . . })(window, document, 'webengage'); </body>

Estaba pensando en declarar un IIFE en un archivo scripts.js, pero no funcionó. agradeceria su ayuda de antemano

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!