Skip to main content

Webpack, insert output in already existing file

I am new to webpack and trying to output in an already existing base file my final bundle.

I have a function main() and want to print there my bundle

Has anyone ever had my same problem? May yoou help me out? Thanks in advance!

Googling, i found out this question but didn't help out Is it possible to add some defined lines of code to webpack's bundle in the dist folder

Via Active questions tagged javascript - Stack Overflow https://ift.tt/ADdXZl2

Comments