瀏覽代碼

ビルド対象ファイル修正

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…
取消
儲存