Releases: doly-dev/doly-cli
Releases · doly-dev/doly-cli
v1.3.1
12 Dec 06:48
Compare
Sorry, something went wrong.
No results found
v1.3.0
03 Jun 02:43
Compare
Sorry, something went wrong.
No results found
v1.2.2
15 Oct 06:51
Compare
Sorry, something went wrong.
No results found
v1.2.1
13 Aug 01:48
Compare
Sorry, something went wrong.
No results found
refacotr: 默认配置 entry 调整,兼容不同文件名后缀
v1.2.0
12 Aug 10:20
Compare
Sorry, something went wrong.
No results found
v1.1.2
01 Nov 06:05
Compare
Sorry, something went wrong.
No results found
v1.1.1
01 Nov 06:05
Compare
Sorry, something went wrong.
No results found
fix: 修复没有配置 transpileDependencies 时报错
v1.1.0
01 Nov 05:54
Compare
Sorry, something went wrong.
No results found
feat: 添加 transpileDependencies 配置
v1.0.1
14 Apr 08:54
Compare
Sorry, something went wrong.
No results found
Breaking Change
默认不再支持 require 语法引入图片或模块文件,请使用 import 语法替换
示例1
- const emailIcon = require('~/res/img/icon-email.png');
+ import IconEmail from '~/res/img/icon-email.png';
示例2
原来:
< img src = { __uri ( '~/res/img/top-logo.png' ) } className = "logo" / >
现在:
import ImageLogo from '~/res/img/top-logo.png'
< img src = { ImageLogo } className = "logo" / >
改完后,删除 doly.config.js 配置:
// js文本替换,兼容fis脚手架项目 `__uri`
replace : {
search : '__uri' ,
replace : 'require' ,
flags : 'g'
} ,
v0.8.7
14 Apr 08:47
Compare
Sorry, something went wrong.
No results found
回滚 v0.8.4 版本
不支持 node_modules 目录下的 .jsx? 文件转换
使用 require 导致无法 tree-shaking