private function makeTpl() {
		$this->localTpl = rtrim($this->localTpl, DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
		$this->wipe[] = $output = self::path(sys_get_temp_dir()) . 'twigjs' . time() . DIRECTORY_SEPARATOR;
		self::readyDir($output);
		
		$data = array();
		
		foreach (self::rglob($this->localTpl . '*.twig') as $file) {
			$id = substr($file, strlen($this->localTpl));
			$data[ $id ] = file_get_contents($file);
		}
		
		file_put_contents($output . 'tpl.js', 'var templates = '. json_encode($data) .';');

		$this->addLocalStatic('js', $output);
		//$this->addCopy($this->localTpl);
		
		return $this;
	}