diff --git a/.changeset/heavy-walls-rest.md b/.changeset/heavy-walls-rest.md new file mode 100644 index 00000000..53f53f3d --- /dev/null +++ b/.changeset/heavy-walls-rest.md @@ -0,0 +1,5 @@ +--- +'@ryanatkn/moss': patch +--- + +fix `gro_plugin_moss` banner diff --git a/src/lib/gro_plugin_moss.ts b/src/lib/gro_plugin_moss.ts index cd5f1069..9c5bc868 100644 --- a/src/lib/gro_plugin_moss.ts +++ b/src/lib/gro_plugin_moss.ts @@ -71,7 +71,7 @@ export const gro_plugin_moss = ({ const flush_gen_queue = throttle( async () => { const css = generate_classes_css(css_classes.get_sorted_array()); - const contents = `/* ${banner} */\n\n${css}\n\n/* ${banner} */n`; + const contents = `/* ${banner} */\n\n${css}\n\n/* ${banner} */`; const output = await format_file(contents, {filepath: outfile}); // TODO think about using gen to implement this, would have some nice benefits like automatic change detection if (output === previous_output) return;