Omit angular from build
See original GitHub issueDue to the environment of the SPA I am developing, AngularJS is included per script tag by default.
However, I have no option of including ngVue as script tag.
Is there a way to initialize ngVue using require
without also importing angular?
Console throws:
WARNING: Tried to load angular more than once.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Exclude files from build in Angular 2 - Stack Overflow
How to exclude files from the Angular build using Angular-CLI. I've just added the path to exclude in the tsconfig.json and tsconfig.app.json files, ......
Read more >How to exclude some files from ng build · Issue #6050 - GitHub
How to exclude some files from ng build ? My case is I will replace some js file dynamically in docker volume. For...
Read more >ng build - Angular
Option Description Value Type Default Value
‑‑aot Build using Ahead of Time compilation. boolean true
‑‑base‑href Base url for the application being built. string
‑‑delete‑output‑path Delete...
Read more >Documentation - Utility Types - TypeScript
Omit <Type, Keys>. Released: 3.5. Constructs a type by picking all properties from Type and then removing Keys (string literal or union of...
Read more >Introduction to Omit typescript utility types - DEV Community
The Omit utility construct a type by picking all properties from type and then removing keys. This... Tagged with typescript, nextjs, node, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I fixed this by adding this to my webpack config
and
/vue/angular
containsI found that fix in this bug: https://github.com/webpack/webpack/issues/2134