File tree Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Expand file tree Collapse file tree 5 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,9 @@ ReactiumBabel.env = {
99
99
browsers : [ '> 1%' , 'IE 11' ] ,
100
100
} ,
101
101
} ;
102
+
103
+ if ( ! global . ReactiumWebpack ) ReactiumBabel . env . targets = { node : '18' } ;
104
+
102
105
ReactiumBabel . Hook . runSync ( 'env' , ReactiumBabel . env ) ;
103
106
104
107
/**
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ import {
13
13
} from '@atomic-reactor/reactium-sdk-core' ;
14
14
15
15
import { AppContext } from './named-exports' ;
16
- import { useDispatcherFactory , useStateEffectFactory } from './named-exports' ;
16
+ import {
17
+ useDispatcherFactory ,
18
+ useStateEffectFactory ,
19
+ } from './named-exports/useDispatcher' ;
17
20
export * from '@atomic-reactor/reactium-sdk-core' ;
18
21
export * from './named-exports' ;
19
22
Original file line number Diff line number Diff line change @@ -6,4 +6,3 @@ export * from './i18n';
6
6
export * from './routing' ;
7
7
export * from './hookable-component' ;
8
8
export * from './app-context' ;
9
- export * from './useDispatcher' ;
Original file line number Diff line number Diff line change 1
1
import _ from 'underscore' ;
2
- import cc from 'camelcase' ;
3
2
import op from 'object-path' ;
4
3
import {
5
4
ComponentEvent ,
6
5
useEventEffect ,
7
6
} from '@atomic-reactor/reactium-sdk-core' ;
7
+ import cc from 'camelcase' ;
8
8
9
9
export const useDispatcherFactory = Reactium => ( { props, state } ) => (
10
10
type ,
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ import reactiumBootHooks from './boot-hooks';
6
6
global . rootPath = path . resolve ( __dirname , '..' ) ;
7
7
8
8
module . exports = async ( ) => {
9
- const ReactiumBoot = ( await import ( 'reactium-core/sdk' ) ) . default ;
9
+ const ReactiumBoot = ( await import ( '@atomic-reactor/reactium-sdk-core' ) )
10
+ . default ;
10
11
global . ReactiumBoot = ReactiumBoot ;
11
12
global . defines = { } ;
12
13
You can’t perform that action at this time.
0 commit comments