express-tsx
Advanced tools
Comparing version 2.1.3 to 2.1.4
# Change Log | ||
## [Unreleased] | ||
- compile 支持第二个参数 `compile(code:string,compilerOptions)` | ||
## [2.1.2] - 2017-4-25 | ||
### fixed | ||
- 上次的缓存层有毒 , 这次修复好了 | ||
## [2.1.4] - 2017-4-27 | ||
### update | ||
- 导出 React 到全局声明 | ||
## [2.1.1] - 2017-4-23 | ||
### fixed | ||
- 编译函数总是返回最后一次更新的编译内容 , 现在会返回符合预期的内容了 | ||
### changed | ||
- 优化了 hotload 清除缓存模式 | ||
## [2.1.0] - 2017-4-23 | ||
### changed | ||
- 优化了 tsx 文件编译函数 , 加入了缓存 . |
{ | ||
"name": "express-tsx", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "express view tsx render", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
import React = require('react'); | ||
(global as any).React = React | ||
declare global { var React:any } | ||
declare global { | ||
namespace React {} | ||
} | ||
import path = require('path') | ||
@@ -5,0 +7,0 @@ import ReactDOM = require('react-dom/server'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
368
22436