/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/angular_devkit/build_webpack/test/basic-app/webpack.config.mjs
19 строк
634 B
Alan Agius
Revert "ci: force dev server host to IPv4 to resolve RBE resolution issues"
05 дек 2025, 16:59
05 дек 2025, 16:59
9d48693
Код
Авторство
О чём код?
import { resolve } from 'path'; import { fileURLToPath } from 'url'; export default { mode: 'development', entry: resolve(fileURLToPath(import.meta.url), '../src/main.js'), module: { rules: [ // rxjs 6 requires directory imports which are not support in ES modules. // Disabling `fullySpecified` allows Webpack to ignore this but this is // not ideal because it currently disables ESM behavior import for all JS files. { test: /\.[m]?js$/, resolve: { fullySpecified: false } }, ], }, output: { path: resolve(fileURLToPath(import.meta.url), '../dist'), filename: 'bundle.js', }, };