⊗jsSpMdMB 207 of 294 menu

Including a bundle in markup in JavaScript

In order to be able to run the assembled code, it must be included in the layout. To do this, in the dist folder we will make the following file:

<!DOCTYPE html> <html> <head> <title>test</title> <script defer src="bundle.js"></script> </head> <body> text </body> </html>

Create the described file.

Open the created file in a browser and make sure your script works.

Modify your script. Rebuild the bundle. Check in your browser that the modified version of the script is working.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline