@mooljs/plugin-access
Advanced tools
+1
-2
@@ -5,4 +5,3 @@ const { readFileSync, existsSync } = require('node:fs'); | ||
| // 检查 @mooljs/plugin-layout 插件是否存在,且 @mooljs/plugin-access 插件尚未添加 | ||
| const layoutPluginExists = config.plugins.some(plugin => plugin.name === '@mooljs/plugin-layout'); | ||
| if (layoutPluginExists) { | ||
| if (options.layout&&options.access) { | ||
| config.plugins.push( | ||
@@ -9,0 +8,0 @@ { |
+1
-1
| { | ||
| "name": "@mooljs/plugin-access", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "pro layout access for mooljs", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
4173
-2.16%71
-1.39%