diff --git a/webpack.config.js b/webpack.config.js index 5739b31..d13677c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -14,7 +14,7 @@ const basePath = path.resolve('src', 'apps'); const env = dotenv.config().parsed // basePath配下の各ディレクトリを複数のentryとする -const entries = glob.sync('**/index.+(js|ts|tsx)', { cwd: basePath }).reduce( +const entries = glob.sync('*/index.+(js|ts|tsx)', { cwd: basePath }).reduce( (prev, file) => ({ ...prev, [path.dirname(file)]: path.resolve(basePath, file),