chanjs 1.0.5 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module.exports = (app) => {
3
3
  const
4
4
  { APP_PATH, views,env } = app.config;
5
5
  //默认home view
6
- const home = path.join(APP_PATH, `modules/home/view`);
6
+ const home = path.join(APP_PATH, `modules/web/view`);
7
7
  //合并插件中的view
8
8
  const all = [...views, home];
9
9
 
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "chanjs",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Chanjs develops a lightweight MVC framework based on express pure JavaScript",
5
5
  "main": "core/chan.js",
6
6
  "module":"core/chan.js",
7
- "type": "module",
8
7
  "keywords": [
9
8
  "\"chanjs\"",
10
9
  "\"express mvc\"",