test: update tests and snapshots

This commit is contained in:
Igor Randjelovic
2021-06-02 19:07:11 +02:00
parent e252e97648
commit 69a41eea38
9 changed files with 246 additions and 43 deletions

View File

@ -41,7 +41,8 @@ export function addVirtualModule(
// AngularCompilerPlugin does not support virtual modules
// https://github.com/sysgears/webpack-virtual-modules/issues/96
// This is only an issue on v11, which has experimental webpack 5 support
// AngularCompilerPlugin gets replaced by AngularWebpackPlugin on v12 and i
// AngularCompilerPlugin gets replaced by AngularWebpackPlugin on v12
// todo: we can remove this special handling once we no longer support v11
if (config.plugins.has('AngularCompilerPlugin')) {
const compatEntryPath = getProjectFilePath(
join('node_modules', '.nativescript', `${name}`)