Skip to content

removeScriptLocals doesn't work #148

@marexx

Description

@marexx

I tried to remove the script Locals, but that doesn't work:
module.exports = { root: "src/views", input: "**/*.html", output: "public", allInOutput: true, plugins: { "posthtml-expressions": { locals: { env : env, lang: "de", path: "/" }, removeScriptLocals: true },

this is what my locals look like
<script locals> module.exports = { story: locals.story || '' } </script>

did i miss something?

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