Brunch wraps all files by default in module definitions (require.register
). So, the console.log
is not executed ASAP.
So, you will need to load the entry point in your index.html
: <script>require('app')</script>
Module definitions can be disabled.