Skip to content

Stats object different with generate: false #1368

@jamesbirtles

Description

@jamesbirtles

When running compile with generate: false, the stats object returned is a quite different to normal

e.g. generate: false

Stats {
  startTime: 73029841.411771,
  stack: [],
  timings: 
   [ { label: 'parse',
       start: 73029841.442941,
       end: 73029845.902759,
       children: [] },
     { label: 'stylesheet',
       start: 73029845.913745,
       end: 73029846.028204,
       children: [] },
     { label: 'validate',
       start: 73029846.034336,
       end: 73029849.531215,
       children: [] } ],
  currentChildren: 
   [ { label: 'parse',
       start: 73029841.442941,
       end: 73029845.902759,
       children: [] },
     { label: 'stylesheet',
       start: 73029845.913745,
       end: 73029846.028204,
       children: [] },
     { label: 'validate',
       start: 73029846.034336,
       end: 73029849.531215,
       children: [] } ],
  onwarn: [Function: defaultOnwarn],
  warnings:  [],
  currentTiming: undefined }

and generate: "dom"

{ timings: 
   { total: 18.931489005684853,
     parse: { total: 4.1629389971494675 },
     stylesheet: { total: 0.11548098921775818 },
     validate: { total: 3.2378130108118057 },
     compile: { total: 11.331197991967201 } },
  warnings: [],
  imports: 
   [ { source: './_components/Layout.html', specifiers: [Array] } ],
  hooks: {} }

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