Authored by ccbikai

完善前端依赖

@@ -47,7 +47,9 @@ @@ -47,7 +47,9 @@
47 "autoprefixer": "^6.3.7", 47 "autoprefixer": "^6.3.7",
48 "babel-core": "^6.11.4", 48 "babel-core": "^6.11.4",
49 "babel-loader": "^6.2.4", 49 "babel-loader": "^6.2.4",
  50 + "babel-plugin-transform-runtime": "^6.12.0",
50 "babel-preset-es2015": "^6.9.0", 51 "babel-preset-es2015": "^6.9.0",
  52 + "babel-runtime": "^6.11.6",
51 "eslint": "^3.2.0", 53 "eslint": "^3.2.0",
52 "eslint-config-yoho": "^1.0.1", 54 "eslint-config-yoho": "^1.0.1",
53 "eslint-plugin-html": "^1.5.1", 55 "eslint-plugin-html": "^1.5.1",
@@ -22,9 +22,10 @@ shelljs.ls(path.join(__dirname, 'js/**/*.page.js')).forEach((f) => { @@ -22,9 +22,10 @@ shelljs.ls(path.join(__dirname, 'js/**/*.page.js')).forEach((f) => {
22 // 生成规则:module.page: './js/module/xx.page.js' 22 // 生成规则:module.page: './js/module/xx.page.js'
23 entries[`${dir[0]}.${dir[1].match(/(.*).page.js/)[1]}`] = `./js/${dir.join('/')}`; 23 entries[`${dir[0]}.${dir[1].match(/(.*).page.js/)[1]}`] = `./js/${dir.join('/')}`;
24 entries.libs = [ 24 entries.libs = [
25 - 'jquery',  
26 'yoho-qs', 25 'yoho-qs',
27 'yoho-cookie', 26 'yoho-cookie',
  27 + 'jquery',
  28 + 'handlebars',
28 'vue', 29 'vue',
29 'vue-lazyload', 30 'vue-lazyload',
30 'vue-swipe', 31 'vue-swipe',