10 lines
282 B
JavaScript
10 lines
282 B
JavaScript
|
const fs = require( 'fs-extra' );
|
||
|
const path = require( 'path' );
|
||
|
|
||
|
const rootNodeModules = path.join( __dirname, '..', 'node_modules' );
|
||
|
|
||
|
fs.ensureSymlinkSync(
|
||
|
path.join( rootNodeModules, 'xstate5' ),
|
||
|
path.join( rootNodeModules, '@xstate5', 'react', 'node_modules', 'xstate' )
|
||
|
);
|