L
L
lavezzi12016-06-16 08:17:06
JavaScript
lavezzi1, 2016-06-16 08:17:06

Am I understanding webpack correctly?

I use webpack and vuejs.
The question is, did I understand correctly that every time I add a page, I have to add the entry point and the page itself to the config manually?

new HtmlWebpackPlugin({
      filename: 'index.html',
      template: 'index.html',
      inject: true
    })

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Q
qtuz, 2016-10-31
@qtuz

How many instances of HtmlWebpackPlugin - so many pages. I don't understand much about the entry point.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question