Open jasonhjohnson opened 6 years ago
I was able to resolve build issues by setting chunksSortMode
to none
for the HtmlWebpackPlugin
. Not sure precisely why this works but there you go.
plugins: [
new HtmlWebpackPlugin({
// This is required or else the build fails for unknown reasons.
// https://github.com/jantimon/html-webpack-plugin/issues/981#issuecomment-399140618
chunksSortMode: 'none'
}),
]
I'm getting a
Cyclic dependency
error when injecting the RouteGeneratorService into a view model.The relevant code is as follows:
app.routes.ts
route-generator.service.ts
personas-section.vm.ts
The following file is the file that fails to inject the routeGeneratorService:
select.vm.ts
Any help is appreciated.
STACK: