Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

angular production vs development mode

In angular 2+,
ng build --dev (development mode) ng build --prod (production mode)
produce different behaviours.

                Development  | Production
-------------------------------------------
Source Map   |  yes              no
Extract CSS  |  css in .js      css in	.css
Minification |  no               yes
Tree Shaking |  no               yes
Compiler     |  JIT              AOT
Comment

PREVIOUS NEXT
Code Example
Javascript :: scroll event js 
Javascript :: npx create-react-app current folder 
Javascript :: Getting Elements by Class Name 
Javascript :: how to move an element of an array in javascript 
Javascript :: remove jquery 
Javascript :: react-router-dom 
Javascript :: validate latitude longitude javascript 
Javascript :: How to swap two array elements in JavaScript 
Javascript :: mongoose docs where field exists 
Javascript :: uploadgetfiletypefileextension 
Javascript :: allow only numerics and few alphabets in input type js 
Javascript :: remove underline from hyperlink react 
Javascript :: get random number node js 
Javascript :: prime numbers 1 to 100 in javascript 
Javascript :: reload page with parameters javascript 
Javascript :: jquery array remove element 
Javascript :: import fetch from ("node-fetch"); ^^^^^^ SyntaxError: Cannot use import statement outside a module 
Javascript :: css and js on flask 
Javascript :: convert response to json javascript 
Javascript :: delete cookies by domain javascript 
Javascript :: on focus jquery 
Javascript :: nodejs date difference 
Javascript :: js format time 
Javascript :: ant design table sort string perfectly 
Javascript :: javascript orderby 
Javascript :: javascript alert random word 
Javascript :: javascript array delete by index 
Javascript :: windows terminal vai kill all node js port 
Javascript :: python iterate json file 
Javascript :: moment get weekday name 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =