D
D
Denis786562018-02-01 10:00:45
webpack
Denis78656, 2018-02-01 10:00:45

What is the correct way to wrap html files with webpack?

Hello!
Just got started with Webpack. I transfer from the development folder to the public html file using the file-loader. Everything is transferred. But in the original html there are a lot of connected scripts, so it is transferred with these dependencies, and after webpack I already have one linked js file.
In general, how to transfer the html file and replace all script connections with one?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alvvi, 2018-02-01
@Denis78656

html-webpack-plugin to the rescue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question