Skip to content

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

@idgserpro

Description

@idgserpro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions