build-plugin-astore
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -36,3 +36,3 @@ const path = require('path'); | ||
// 包含根目录 src/index | ||
let globPath = `${context.rootDir}/src/**/index.@(ts|tsx|js|jsx)`; | ||
let globPath = `${context.rootDir}/src/*/index.@(ts|tsx|js|jsx)`; | ||
if(useComponentDir){ | ||
@@ -57,3 +57,3 @@ globPath = `${context.rootDir}/src/components/*/index.@(ts|tsx|js|jsx)`; | ||
} | ||
console.log(relPath,item); | ||
config.entry(relPath).add(path.resolve(item)); | ||
@@ -60,0 +60,0 @@ config |
{ | ||
"name": "build-plugin-astore", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "build-scripts plugin for generate astore cloud seed.json", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
18359
579
3