export { } ; const moduleRef = require ( 'module' ) ; moduleRef . _resolveFilename = new Proxy ( moduleRef . _resolveFilename , { apply ( target , thisArg , argumentsList ) { const moduleName = argumentsList [ 0 ] as string ; let path = Reflect . apply ( target , thisArg , argumentsList ) as string ; if ( moduleName . indexOf ( '@uifabric/styling' ) >= 0 ) { path = fixModulePath ( '@uifabric' , path ) ; } return path ; } , } ) ; function fixModulePath ( moduleName , path ) { const index = path . lastIndexOf ( moduleName ) ; if ( require ( 'os' ) . type ( ) === 'Windows_NT' ) { return path . slice ( 0 , index ) + path . slice ( index ) . replace ( '\\lib\\' , '\\lib-commonjs\\' ) ; } else { return path . slice ( 0 , index ) + path . slice ( index ) . replace ( '/lib/' , '/lib-commonjs/' ) ; } }