You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					20 lines
				
				496 B
			
		
		
			
		
	
	
					20 lines
				
				496 B
			| 
											3 years ago
										 | "use strict"; | ||
|  | 
 | ||
|  | Object.defineProperty(exports, "__esModule", { | ||
|  |   value: true | ||
|  | }); | ||
|  | exports.default = void 0; | ||
|  | 
 | ||
|  | var _options = require("../../utils/options"); | ||
|  | 
 | ||
|  | var _transpile = _interopRequireDefault(require("./transpile")); | ||
|  | 
 | ||
|  | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
|  | 
 | ||
|  | var _default = t => (path, state) => { | ||
|  |   if ((0, _options.useTranspileTemplateLiterals)(state)) { | ||
|  |     (0, _transpile.default)(t)(path, state); | ||
|  |   } | ||
|  | }; | ||
|  | 
 | ||
|  | exports.default = _default; |