# Adding custom webpack loaders to Ionic2

**URL:** <https://forum.ionicframework.com/t/adding-custom-webpack-loaders-to-ionic2/77833>\
**Category:** ionic-v3\
**Created:** [January 30, 2017, 1:24pm UTC](https://forum.ionicframework.com/t/adding-custom-webpack-loaders-to-ionic2/77833 "2017-01-30T13:24:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tscislo](https://avatars.discourse-cdn.com/v4/letter/t/74df32/32.png) [@tscislo](https://forum.ionicframework.com/u/tscislo)\
**Post date:** [January 30, 2017, 1:24pm UTC](https://forum.ionicframework.com/t/adding-custom-webpack-loaders-to-ionic2/77833/1 "2017-01-30T13:24:15Z")

</div>

Hi,

I’d like to customize a bit Ionic2 build. I can do that by changing webpack config. How should I proceed if I’d like to add additional webpack loader to a Ionic2 build?

Thanks

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [January 30, 2017, 9:32pm UTC](https://forum.ionicframework.com/t/adding-custom-webpack-loaders-to-ionic2/77833/2 "2017-01-30T21:32:02Z")

</div>

- Copy the stock one from `node_modules/@ionic/app-scripts/config` to the root of your project
- Add `"ionic_webpack": "./webpack.config.js"` to the `config` stanza of `package.json` as documented [here](https://github.com/driftyco/ionic-app-scripts)
- Be prepared for it to break every time app-scripts is bumped, potentially requiring repeating these steps
