nl_tokens: Wraps and saves data to .. / client / components / phone - input / data . js
pl_tokens: function saveToFile ( data ) { const scriptStr = '/** @format */\n' + '// Generated by build-metadata.js\n' + '/* eslint-disable */\n' + Object . keys ( data ) . map ( <mask> => ` ${ key } ${ JSON . stringify ( data [ key ] , null , '\t' ) } \n ` ) . join ( '\n' ) + '/* eslint-enable */\n' ; const filePath = path . resolve ( __dirname , '..' , 'client' , 'components' , 'phone-input' , 'data.js' ) ; fs . writeFileSync ( filePath , scriptStr ) ; }