Answer the question
In order to leave comments, you need to log in
How to make the correct build of rollup.js?
1) In the first screenshot, the src folder, which has index.html to which app.js is connected
2) Using rollup.js, I build the project in the dist folder, compile app.js to app.esm.js, and build the app file in dist .html
3) Everything would be fine, only there is one app.html file that is assembled with the connected app.esm.js script and the old app.js, so the essence of the question is how to build the project so that scripts from the dev folder do not get into html
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question