Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not necessary to add the theme id in paths of resources generated by webpack #73

Open
idgserpro opened this issue Jul 29, 2020 · 0 comments

Comments

@idgserpro
Copy link
Member

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) => {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant