You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the output.publicPath is a function, this plugin will throw an error saying TypeError: webpackPublicPath.trim is not a function, I found that this error was from here, it didn't handle the situation that output.publicPath is a function, so the webpackPublicPath.trim() call failed.
According to the documentation from Webpack, output.publicPath can be a string or a function.
The text was updated successfully, but these errors were encountered:
When the
output.publicPath
is a function, this plugin will throw an error sayingTypeError: webpackPublicPath.trim is not a function
, I found that this error was from here, it didn't handle the situation thatoutput.publicPath
is a function, so thewebpackPublicPath.trim()
call failed.According to the documentation from Webpack,
output.publicPath
can be a string or a function.The text was updated successfully, but these errors were encountered: