Authored by biao

update for code validation

... ... @@ -6,17 +6,16 @@
'use strict';
const webpack = require('webpack');
const fs = require('fs');
// const webpack = require('webpack');
const path = require('path');
const _ = require('lodash');
require('shelljs/global');
const shelljs = require('shelljs');
var entries = {};
// 构建各模块子页面JS。生成规则module.page.js
ls(__dirname + '/js/**/*.page.js').forEach((f) => {
shelljs.ls(path.join(__dirname, 'js/**/*.page.js')).forEach((f) => {
var dir = _.slice(f.split('/'), -2); // [modulename, xx.page.js]
// Important
... ...