Skip to content

Commit

Permalink
Rename styles marker comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Nov 30, 2022
1 parent a6c90b1 commit 5611e12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/src/styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
@import "theme/oc-width";
@import "theme/tooltip";

/* SHITTY MARKER */
/* STYLES STRIP IMPORTS MARKER */
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const plugins = [
{
transform(src, id) {
if (id.includes('rollup-plugin-vue=styles')) {
const split = src.split('/* SHITTY MARKER */')
const split = src.split('/* STYLES STRIP IMPORTS MARKER */')
const newSrc = split[split.length-1]
return {
code: newSrc,
Expand Down

0 comments on commit 5611e12

Please sign in to comment.