It's not necessary to add the theme id, for example:
++theme++mytheme
in paths of resources generated by webpack. The Plone theme itself adds this to the resource paths.
When the webpack adds, the browser accesses urls like:
http://localhost:8080/Plone/++theme++padrao/++theme++padrao/++theme++padrao/img/sprite.png
So, the publicPath parameter of the makeConfig function isn't necessary.
|
let makeConfig = (name, shortName, path, publicPath, callback) => { |
It's not necessary to add the theme id, for example:
++theme++mythemein paths of resources generated by webpack. The Plone theme itself adds this to the resource paths.
When the webpack adds, the browser accesses urls like:
http://localhost:8080/Plone/++theme++padrao/++theme++padrao/++theme++padrao/img/sprite.png
So, the
publicPathparameter of themakeConfigfunction isn't necessary.sc.recipe.staticresources/config.js
Line 28 in 354ccbd