# How to build by modifying the pxt-micro:bit code

**URL:** https://forum.makecode.com/t/how-to-build-by-modifying-the-pxt-micro-bit-code/27940
**Category:** micro:bit
**Created:** [March 26, 2024, 2:31am UTC](https://forum.makecode.com/t/how-to-build-by-modifying-the-pxt-micro-bit-code/27940 "2024-03-26T02:31:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![huhhuh123](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/huhhuh123/32/14296_2.png) [@huhhuh123](https://forum.makecode.com/u/huhhuh123)
#### Post date: [March 26, 2024, 2:31am UTC](https://forum.makecode.com/t/how-to-build-by-modifying-the-pxt-micro-bit-code/27940/1 "2024-03-26T02:31:48Z")

</div>

hello

We are doing a static build of pxt-microbit using the pxt staticpkg command.

However, the pxt-microbit code I modified is not reflected, and the default code before modification continues to be reflected.

How can I build it so that my modified code is reflected?
