Can someone explain how __webpack_public_path__ works?

I am new to webpack package module.

How to use webpack_public_path ? i need to install something like this

var __webpack_public_path__ = 'http://some.cdn.com/assert/

Can someone explain how webpack_public_path works ?

Thanks and Regards

Adi

+4
source share
1 answer

I got the solution on Github by posting it.

is imported, so it always runs before the code inside your module.

You will probably need use at the starting point.

0
source

All Articles