This repository was archived by the owner on Jun 20, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,18 +9,18 @@ const config = {
99 ] ,
1010}
1111
12- if ( process . env . NODE_ENV === 'lib' ) {
12+ if ( process . env . BABEL_ENV === 'lib' ) {
1313 module . exports = Object . assign ( { } , config , {
1414 plugins : [
1515 ...config . plugins ,
1616 [ '@babel/plugin-transform-modules-commonjs' , { loose : true } ] ,
1717 ] ,
1818 } )
19- } else if ( process . env . NODE_ENV === 'rollup' ) {
20- module . exports = Object . assign ( { } , config , {
21- plugins : [ ... config . plugins , '@babel/plugin-external-helpers' ] ,
22- } )
23- } else if ( process . env . NODE_ENV === 'test' ) {
19+ } else if ( process . env . BABEL_ENV === 'rollup' ) {
20+ module . exports = config
21+ }
22+
23+ if ( process . env . NODE_ENV === 'test' ) {
2424 module . exports = Object . assign ( { } , config , {
2525 plugins : [
2626 ...config . plugins ,
Original file line number Diff line number Diff line change @@ -25,5 +25,6 @@ export { default as Switch } from './Switch'
2525export { default as Textarea } from './Textarea'
2626export { default as Toggler } from './Toggler'
2727export { default as Transition } from './Transition'
28+ export { default as Typography } from './Typography'
2829export { defaultTheme }
2930export * from './utils'
You can’t perform that action at this time.
0 commit comments