소스 검색

ビルド対象ファイル修正

develop
sosuke.iwabuchi 2 년 전
부모
커밋
b667300894
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      webpack.config.js

+ 1
- 1
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),


Loading…
취소
저장