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, 2020 in Angular by sajal
• 120 points

recategorized Aug 6, 2020 by Niroj 126 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, 2020 by Niroj
• 82,680 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, 2020 in Angular by Niroj
• 82,680 points
548 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, 2020 in Angular by Niroj
• 82,680 points
3,031 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, 2020 in Angular by Niroj
• 82,680 points
4,064 views
0 votes
3 answers

How to load external scripts dynamically in Angular?

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

answered Apr 22, 2020 in Angular by Niroj
• 82,680 points
27,624 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, 2020 in PHP by Niroj
• 82,680 points
328 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, 2020 in Java-Script by Niroj
• 82,680 points
1,663 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, 2020 in Laravel by Niroj
• 82,680 points
1,781 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, 2020 in PHP by Niroj
• 82,680 points
407 views
0 votes
2 answers

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, 2020 in Angular by Niroj
• 82,680 points
12,986 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, 2020 in Angular by Niroj
• 82,680 points
2,323 views