Open marexx opened 1 year ago
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 },
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>
<script locals> module.exports = { story: locals.story || '' } </script>
did i miss something?
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?