How to know tools and bundlers after create a new workspace or a project in angular?

0 votes

I have create a new workspace or a project you have an option to create them in a strict mode using the --strict flag.

To create a new project I use the strict mode and run the following command:

content_copyng new [project-name] --strict

and to create a new application in the strict mode within an existing non-strict workspace:

content_copyng generate application [project-name] --strict

So my question is how can i know informs of  tools and bundlers after creatinh workspace?

Aug 6 in Angular by sajal
• 120 points

recategorized Aug 6 by Niroj 50 views

1 answer to this question.

0 votes

Hello @sajal,

When you create projects and workspaces using the strict mode, you'll notice an additional package.json file, located in:

 src/app/ directory. 

This file informs tools and bundlers that the code under this directory is free of non-local side effects. 

Non-local side effects in the application code are not common and using them is not considered a good coding pattern. More importantly, code with these types of side effects cannot be optimized, resulting in increased bundle sizes and applications that load more slowly.

Hope this is helpfull information !!

Thank You!!

answered Aug 6 by Niroj
• 58,500 points
Thanks a ton buddy you saved my day....It helped me

Related Questions In Angular

0 votes
1 answer

How to create a URL in the controller .NET MVC?

Hello @kartik, If you just want to get ...READ MORE

answered Jul 23 in Angular by Niroj
• 58,500 points
50 views
0 votes
1 answer

How do I include a JavaScript script file in Angular and call a function from that script?

Hello @kartik, Refer the scripts inside the angular-cli.json (angular.json when using ...READ MORE

answered Sep 8 in Angular by Niroj
• 58,500 points
35 views
0 votes
1 answer

How to pass a string parameter from angular UI to node.js backend?

Hello Kartik, There are three ways to get ...READ MORE

answered Apr 22 in Angular by Niroj
• 58,500 points
1,029 views
0 votes
1 answer

How to load external scripts dynamically in Angular?

Hello kartik, You can use following technique to ...READ MORE

answered Apr 22 in Angular by Niroj
• 58,500 points
7,203 views
0 votes
1 answer

What are the vulnerability related to PHP Form?

Hii, The $_SERVER["PHP_SELF"] variable can be used by ...READ MORE

answered Feb 13 in PHP by Niroj
• 58,500 points
145 views
+1 vote
1 answer

How can we send message multiple time to a specific person or group in whatsapp using loop?

Hii @kartik,  This is simple task to send single ...READ MORE

answered Feb 28 in Java-Script by Niroj
• 58,500 points
573 views
0 votes
1 answer

Why it is necessary to refresh CSRF token per form request?

Hello, Generating a new CSRF token for each ...READ MORE

answered Mar 19 in Laravel by Niroj
• 58,500 points
784 views
0 votes
1 answer

What is meant by passing the variable by value and reference in PHP?

Hello, When the variable is passed as value ...READ MORE

answered Mar 27 in PHP by Niroj
• 58,500 points
116 views
0 votes
1 answer

How to detect a route change in Angular?

Hii Kartik For Angular 7 someone should write like: this.router.events.subscribe((event: Event) ...READ MORE

answered Apr 22 in Angular by Niroj
• 58,500 points
4,108 views
0 votes
1 answer

How to specify a port to run a create-react-app based project?

Hello @kartik, You could use cross-env to set the port, ...READ MORE

answered Jul 22 in Angular by Niroj
• 58,500 points
308 views