Skip to content

Commit e6f7718

Browse files
build theme fix
1 parent 846200c commit e6f7718

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/build.theme.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ async function run(argv) {
1818
const cwd = path.resolve(__dirname, '../')
1919

2020
// build theme babel
21-
const commandThemeBabel = `yarn babel ./src/components/Atomic/_theme/ -d build/lib/theme ${extensions}`
21+
const commandThemeBabel = `babel ./src/components/Atomic/_theme/ -d build/lib/theme ${extensions}`
2222
const { stderr, stdout } = await exec(commandThemeBabel, {
2323
env: { ...process.env, ...env },
2424
cwd,
@@ -33,7 +33,7 @@ async function run(argv) {
3333
}
3434

3535
// build theme color
36-
const commandThemeColors = `yarn babel ./src/components/Atomic/_utils/colors.ts --out-file build/lib/_utils/colors.js ${extensions}`
36+
const commandThemeColors = `babel ./src/components/Atomic/_utils/colors.ts --out-file build/lib/_utils/colors.js ${extensions}`
3737
const { stderrColor, stdoutColor } = await exec(commandThemeColors, {
3838
env: { ...process.env, ...env },
3939
cwd,

0 commit comments

Comments
 (0)