⊗tlWpBsIC 5 of 55 menu

Initial Webpack Bundle Setup

The installed collector must be configured. This is done in a special configuration file webpack.config.js, placed in the root of the site.

First, we need one setting entry, which specifies the entry point. We also need a setting entry, which specifies the build mode (we'll deal with this later in the tutorial).

So, let's create a settings file with the following contents:

export default { mode: 'development', entry: './src/index.js', };

Create the described configuration file in your working folder.

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