Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 41564b9

Browse files
committed
fix: fix `import X from 'smooth-ui/X'
1 parent 26c1d0c commit 41564b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

babel.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ if (process.env.BABEL_ENV === 'lib') {
1818
})
1919
} else if (process.env.BABEL_ENV === 'rollup') {
2020
module.exports = config
21-
}
22-
23-
if (process.env.NODE_ENV === 'test') {
21+
} else if (process.env.NODE_ENV === 'test') {
2422
module.exports = Object.assign({}, config, {
2523
plugins: [
2624
...config.plugins,

0 commit comments

Comments
 (0)