Skip to content

Commit

Permalink
webpage 模式下,支持es6语法
Browse files Browse the repository at this point in the history
  • Loading branch information
李健 committed Sep 25, 2017
1 parent 38661f7 commit cad1f4e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@
* 去除 png-compressor 插件

## 0.6.0 / 2017-08-30
* 去除 webpage 模式的 csssprites 功能
* 去除 webpage 模式的 csssprites 功能

## 0.6.1 / 2017-09-25
* webpage 模式下,支持es6语法
4 changes: 2 additions & 2 deletions lib/config/webpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "efit",
"version": "0.6.0",
"version": "0.7.0",
"description": "易上手的前端构建工具,基于 fis3,面向业务项目和业务组件,支持simple、webpage、webapp、component四种模式。",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit cad1f4e

Please sign in to comment.