Skip to content

Commit fe3ac9e

Browse files
authored
add additional scss output (#2201)
1 parent df60b8e commit fe3ac9e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

packages/docsearch-css/build-css.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,15 @@ async function buildStyle() {
7777
].join('\n'),
7878
() => true
7979
);
80+
81+
fs.writeFile(
82+
'dist/style.scss',
83+
[
84+
getBundleBanner(pkg),
85+
[variablesOutput.css, buttonOutput.css, modalOutput.css].join(''),
86+
].join('\n'),
87+
() => true
88+
);
8089
}
8190

8291
buildStyle();

0 commit comments

Comments
 (0)