Skip to content

Performance of PolymerCli #3458

@jogibear9988

Description

@jogibear9988

A Build with following options: (polymer.json)

{
  "sources": [
   "dist/**",
   "assets/resources/**",
   "assets/images/**"
  ],
  "extraDependencies": [],
  "builds": [
	{
	  "name": "HTML",
	  "browserCapabilities": ["es2015", "push", "serviceworker", "modules"],
	  "html": { "minify": true},
	  "css": { "minify": true},
	  "js": { "minify": true, "compile": false},
	  "bundle": {             
		"exclude": ["../libs/stimulsoft/" ], 
		"inlineCss": false,          
		"inlineScripts": true,       
		"rewriteUrlsInTemplates": false, 
		"sourcemaps": false,          
		"stripComments": true   
	  },
	  "addServiceWorker": false,
	  "addPushManifest": false
	}
  ],
  "moduleResolution": "node",
  "npm": true,
  "lint": {
	"rules": [
	  "polymer-3"
	]
  }
}

and following command

 call node --max-old-space-size=6144 node_modules\polymer-cli\bin\polymer build --verbose --root ../../bin/Debug/HTML --entrypoint index.html

needs about 25minutes (and I've to do it 3 times, cause I have 3 different html files)

Is there a way to increase this speed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions