diff --git a/CHANGELOG.md b/CHANGELOG.md index 7af9ad8..b1aef8c 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,4 +14,7 @@ * 去除 png-compressor 插件 ## 0.6.0 / 2017-08-30 -* 去除 webpage 模式的 csssprites 功能 \ No newline at end of file +* 去除 webpage 模式的 csssprites 功能 + +## 0.6.1 / 2017-09-25 +* webpage 模式下,支持es6语法 diff --git a/lib/config/webpage.js b/lib/config/webpage.js index e0f44f7..48597fe 100755 --- a/lib/config/webpage.js +++ b/lib/config/webpage.js @@ -74,7 +74,7 @@ module.exports = function (config) { }); // es\ts - fis.match('*.{jsx,es,ts,tsx}', { + fis.match('*.{js,jsx,ts,tsx}', { rExt: '.js', useHash: true, // fis3-parser-typescript @@ -142,7 +142,7 @@ module.exports = function (config) { // fis-optimizer-html-minifier optimizer: isOptimizer ? fis.plugin('html-minifier') : null }) - .match('*.{js,jsx,es,ts,tsx}', { + .match('*.{js,jsx,ts,tsx}', { domain: domain, useHash: true, optimizer: isOptimizer ? fis.plugin('uglify-js') : null diff --git a/package.json b/package.json index 9cbda9d..5fe5fe9 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "efit", - "version": "0.6.0", + "version": "0.7.0", "description": "易上手的前端构建工具,基于 fis3,面向业务项目和业务组件,支持simple、webpage、webapp、component四种模式。", "main": "index.js", "bin": {