nl_tokens: Replacement the file content using the given pattern
pl_tokens: function process ( file , options ) { let content = file . content . toString ( ) ; let { config : rules , logger } = options ; let result = content ; try { result = doReplacement ( content , rules || [ ] , file ) ; } catch ( ex ) { let tip ; if ( <mask> === 'devServer' ) { tip = ', please execute `npm run dev:server` script or start with `--server` option' ; } logger . error ( 'unknown replacement variable:' , ex + ( tip || '' ) ) ; } return { content : result } ; }