You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/ngtools/webpack/README.md
+1
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ The loader works with webpack plugin to compile your TypeScript. It's important
42
42
*`skipCodeGeneration`. Optional, defaults to false. Disable code generation and do not refactor the code to bootstrap. This replaces `templateUrl: "string"` with `template: require("string")` (and similar for styles) to allow for webpack to properly link the resources.
43
43
*`sourceMap`. Optional. Include sourcemaps.
44
44
*`compilerOptions`. Optional. Override options in `tsconfig.json`.
45
+
*`contextElementDependencyConstructor`. Optional. Set to `require('webpack/lib/dependencies/ContextElementDependency')` if you are having `No module factory available for dependency type: ContextElementDependency` errors.
45
46
46
47
## Features
47
48
The benefits and ability of using [`@ngtools/webpack`](https://www.npmjs.com/~ngtools) standalone from the Angular CLI as presented in [Stephen Fluin's Angular CLI talk](https://youtu.be/uBRK6cTr4Vk?t=6m45s) at Angular Connect 2016:
0 commit comments