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 931 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 !!

To know more about Angular, It's recommended to join Angular Online Course today.

Thank You!!

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

Related Questions In Angular

0 votes
0 answers
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,840 points
6,092 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,840 points
14,182 views
0 votes
1 answer

How to pass data from a child component to a parent component in Angular 4?

In Angular 4, passing data from a ...READ MORE

answered Dec 4 in Angular by Navya
60 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,840 points
3,222 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,840 points
18,754 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,840 points
4,606 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,840 points
3,288 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,840 points
29,251 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,840 points
5,935 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP