if you use command sbr page [pageName] to create page or manually create file structure like
[pageName]
    - index.html
    - index.js
            
and then restart the dev server. webpack will auto detected [pageName]/index.html file and auto import [pageName]/index.js as an entry