Explorar el Código

ビルド対象ファイル修正

develop
sosuke.iwabuchi hace 2 años
padre
commit
b667300894
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      webpack.config.js

+ 1
- 1
webpack.config.js Ver fichero

@@ -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),


Cargando…
Cancelar
Guardar