⊗tlWpPnEN 21 of 55 menu

Webpack Entry Point Names

Entry points can be given names. To do this, make the entry setting an object. The keys of the object will be the names of the entry points. Named entry points will be collected into separate build files.

Let's try it. In the following example, after building, in the dist folder we will have two files: file1.js and file2.js.

export default { entry: { file1: './src/test1.js', file2: './src/test2.js' }, };

Make three entry points. Collect them into separate files.

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