πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement

NativeScript applications are bundled using webpack. The bundling process can be further customized via the webpack.config.js.

Default webpack config ​

By default, the webpack config will automatically configure everything for your project, and should looks something like this:

js
constwebpack=require('@nativescript/webpack')

module.exports= (env) => {
 webpack.init(env)

// Learn how to customize:
// https://docs.nativescript.org/webpack

return webpack.resolveConfig()
}
On this page
  1. Default webpack config

Contributors

Edit this page

Last updated:

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /