refactor: define _IS_CHROMATIC_

This commit is contained in:
syuilo
2023-05-16 19:24:10 +09:00
parent 153eed7d71
commit a35f0d43e4
5 changed files with 7 additions and 2 deletions

View File

@@ -32,6 +32,9 @@ const config = {
rootDir: config.root ?? process.cwd(),
}),
],
define: {
_IS_CHROMATIC_: true,
},
build: {
target: [
'chrome108',