Skip to content

Instantly share code, notes, and snippets.

@Khauri
Created July 15, 2020 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Khauri/d2f775f82618f2f6ca0c46fa4f3e609b to your computer and use it in GitHub Desktop.
Save Khauri/d2f775f82618f2f6ca0c46fa4f3e609b to your computer and use it in GitHub Desktop.
An example module from webpack stats
{
"id":"./pages/index.marko",
"identifier":"/Users/khauri/Documents/project/node/node_modules/@marko/webpack/loader.js!/Users/khauri/Documents/project/node/pages/index.marko",
"name":"./pages/index.marko",
"index":1007,
"index2":1007,
"size":6082,
"cacheable":false,
"built":true,
"optional":false,
"prefetched":false,
"chunks":[
"main"
],
"issuer":"/Users/khauri/Documents/project/node/node_modules/@marko/webpack/loader.js!/Users/khauri/Documents/project/node/pages/index.marko?assets",
"issuerId":"./pages/index.marko?assets",
"issuerName":"./pages/index.marko?assets",
"issuerPath":[
{
"id":"./index.js",
"identifier":"/Users/khauri/Documents/project/node/index.js",
"name":"./index.js",
"profile":{
"factory":25,
"building":82
}
},
{
"id":"./pages/index.marko?assets",
"identifier":"/Users/khauri/Documents/project/node/node_modules/@marko/webpack/loader.js!/Users/khauri/Documents/project/node/pages/index.marko?assets",
"name":"./pages/index.marko?assets",
"profile":{
"factory":427,
"building":1679,
"dependencies":6149
}
}
],
"profile":{
"factory":5819,
"building":76,
"dependencies":5717
},
"failed":false,
"errors":0,
"warnings":0,
"assets":[
],
"reasons":[
{
"moduleId":"./pages/index.marko?assets",
"moduleIdentifier":"/Users/khauri/Documents/project/node/node_modules/@marko/webpack/loader.js!/Users/khauri/Documents/project/node/pages/index.marko?assets",
"module":"./pages/index.marko?assets",
"moduleName":"./pages/index.marko?assets",
"type":"cjs require",
"userRequest":"./index.marko",
"loc":"6:15-39"
}
],
"providedExports":null,
"optimizationBailout":[
],
"depth":2,
"source":"\"use strict\";\n\nvar marko_template = module.exports = require(\"marko/src/html\").t(__filename),\n marko_componentType = ..."
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment