#Taking build in a customised way
11 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
already told you. This is not how nextjs.
this isn't possible. This isn't how nextjs work
but you can try to tinker with some webpack config to get what you need. I've never tried this so idk much about it
If you arent even using the only things next provides, you should probably not be using it. React Server Components are not a nextjs thing. Next just builds on top of it. Exporting a file in your angular projects CANNOT provide you ANY benefits of react server-side rendering or nextjs
But Webpack customization is possible in next js right? then, why not we can take a separate build for js and html files?
I have already tried this but it went on loop like it creates all the files in a same name like ichatbotFrame.js like that
You can do static export to generate the html and js files for you. That however is basically getting rid of much of what nextjs can provide you
If I am not wrong, to generate only one JS file you will need to change the webpack config used by nextjs internally
also you want one page, which definitely isnt gonna happen even with static export. Secondly, you arent using Server-side rendering at all or any dynamic content OR navigation OR caching or any kind of optimization.
So what are u gonna use nextjs for exactly>