From d644e24693aee99caa8456629ad0ffae119b6d4b Mon Sep 17 00:00:00 2001 From: Glenn Vandeuren Date: Sat, 25 Feb 2017 18:09:57 +0100 Subject: [PATCH] :information_source: Update documentation --- docs/ast/source/builder.js.json | 9926 ++++++++++++++++++------ docs/badge.svg | 4 +- docs/class/src/builder.js~Builder.html | 98 + docs/coverage.json | 9 +- docs/dump.json | 182 +- docs/file/src/builder.js.html | 27 +- docs/package.json | 2 +- docs/script/search_index.js | 6 + docs/source.html | 12 +- 9 files changed, 7651 insertions(+), 2615 deletions(-) diff --git a/docs/ast/source/builder.js.json b/docs/ast/source/builder.js.json index b321209..0198c88 100644 --- a/docs/ast/source/builder.js.json +++ b/docs/ast/source/builder.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 814, + "end": 1439, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 55, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 814, + "end": 1439, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 32, + "line": 55, "column": 0 } }, @@ -449,28 +449,28 @@ { "type": "ExportDefaultDeclaration", "start": 152, - "end": 813, + "end": 1438, "loc": { "start": { "line": 7, "column": 0 }, "end": { - "line": 31, + "line": 54, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 167, - "end": 813, + "end": 1438, "loc": { "start": { "line": 7, "column": 15 }, "end": { - "line": 31, + "line": 54, "column": 1 } }, @@ -495,14 +495,14 @@ "body": { "type": "ClassBody", "start": 181, - "end": 813, + "end": 1438, "loc": { "start": { "line": 7, "column": 29 }, "end": { - "line": 31, + "line": 54, "column": 1 } }, @@ -510,14 +510,14 @@ { "type": "ClassMethod", "start": 185, - "end": 811, + "end": 805, "loc": { "start": { "line": 8, "column": 2 }, "end": { - "line": 30, + "line": 29, "column": 3 } }, @@ -567,1746 +567,1272 @@ "body": { "type": "BlockStatement", "start": 199, - "end": 811, + "end": 805, "loc": { "start": { "line": 8, "column": 16 }, "end": { - "line": 30, + "line": 29, "column": 3 } }, "body": [ { - "type": "ExpressionStatement", + "type": "IfStatement", "start": 205, - "end": 807, + "end": 801, "loc": { "start": { "line": 9, "column": 4 }, "end": { - "line": 29, - "column": 7 + "line": 28, + "column": 5 } }, - "expression": { - "type": "CallExpression", - "start": 205, - "end": 806, + "test": { + "type": "LogicalExpression", + "start": 209, + "end": 259, "loc": { "start": { "line": 9, - "column": 4 + "column": 8 }, "end": { - "line": 29, - "column": 6 + "line": 9, + "column": 58 } }, - "callee": { + "left": { "type": "MemberExpression", - "start": 205, - "end": 341, + "start": 209, + "end": 222, "loc": { "start": { "line": 9, - "column": 4 + "column": 8 }, "end": { - "line": 13, - "column": 11 + "line": 9, + "column": 21 } }, "object": { - "type": "CallExpression", - "start": 205, - "end": 336, + "type": "Identifier", + "start": 209, + "end": 215, "loc": { "start": { "line": 9, - "column": 4 + "column": 8 }, "end": { - "line": 13, - "column": 6 + "line": 9, + "column": 14 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 216, + "end": 222, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 21 + }, + "identifierName": "format" + }, + "name": "format" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "BinaryExpression", + "start": 226, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 58 + } + }, + "left": { + "type": "UnaryExpression", + "start": 226, + "end": 246, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 45 } }, - "callee": { - "type": "Identifier", - "start": 205, - "end": 211, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 233, + "end": 246, "loc": { "start": { "line": 9, - "column": 4 + "column": 32 }, "end": { "line": 9, - "column": 10 + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 233, + "end": 239, + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 38 + }, + "identifierName": "config" }, - "identifierName": "rollup" + "name": "config" }, - "name": "rollup" + "property": { + "type": "Identifier", + "start": 240, + "end": 246, + "loc": { + "start": { + "line": 9, + "column": 39 + }, + "end": { + "line": 9, + "column": 45 + }, + "identifierName": "format" + }, + "name": "format" + }, + "computed": false }, - "arguments": [ + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "===", + "right": { + "type": "StringLiteral", + "start": 251, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 50 + }, + "end": { + "line": 9, + "column": 58 + } + }, + "extra": { + "rawValue": "object", + "raw": "'object'" + }, + "value": "object" + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 261, + "end": 733, + "loc": { + "start": { + "line": 9, + "column": 60 + }, + "end": { + "line": 26, + "column": 5 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 269, + "end": 299, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 36 + } + }, + "declarations": [ { - "type": "ObjectExpression", - "start": 212, - "end": 335, + "type": "VariableDeclarator", + "start": 275, + "end": 298, "loc": { "start": { - "line": 9, - "column": 11 + "line": 10, + "column": 12 }, "end": { - "line": 13, - "column": 5 + "line": 10, + "column": 35 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 220, - "end": 259, + "id": { + "type": "Identifier", + "start": 275, + "end": 282, + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 19 + }, + "identifierName": "formats" + }, + "name": "formats" + }, + "init": { + "type": "MemberExpression", + "start": 285, + "end": 298, + "loc": { + "start": { + "line": 10, + "column": 22 + }, + "end": { + "line": 10, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 285, + "end": 291, "loc": { "start": { "line": 10, - "column": 6 + "column": 22 }, "end": { "line": 10, - "column": 45 - } + "column": 28 + }, + "identifierName": "config" }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 220, - "end": 225, - "loc": { - "start": { - "line": 10, - "column": 6 - }, - "end": { - "line": 10, - "column": 11 - }, - "identifierName": "entry" + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 292, + "end": 298, + "loc": { + "start": { + "line": 10, + "column": 29 }, - "name": "entry" + "end": { + "line": 10, + "column": 35 + }, + "identifierName": "format" }, - "value": { - "type": "TemplateLiteral", - "start": 227, - "end": 259, + "name": "format" + }, + "computed": false + } + } + ], + "kind": "const" + }, + { + "type": "ForOfStatement", + "start": 306, + "end": 727, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 25, + "column": 7 + } + }, + "left": { + "type": "VariableDeclaration", + "start": 311, + "end": 321, + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 21 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 11, + "column": 15 + }, + "end": { + "line": 11, + "column": 21 + } + }, + "id": { + "type": "Identifier", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 11, + "column": 15 + }, + "end": { + "line": 11, + "column": 21 + }, + "identifierName": "format" + }, + "name": "format" + }, + "init": null + } + ], + "kind": "let" + }, + "right": { + "type": "Identifier", + "start": 325, + "end": 332, + "loc": { + "start": { + "line": 11, + "column": 25 + }, + "end": { + "line": 11, + "column": 32 + }, + "identifierName": "formats" + }, + "name": "formats" + }, + "body": { + "type": "BlockStatement", + "start": 334, + "end": 727, + "loc": { + "start": { + "line": 11, + "column": 34 + }, + "end": { + "line": 25, + "column": 7 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 344, + "end": 367, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 31 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 348, + "end": 366, "loc": { "start": { - "line": 10, - "column": 13 + "line": 12, + "column": 12 }, "end": { - "line": 10, - "column": 45 + "line": 12, + "column": 30 } }, - "expressions": [ - { - "type": "CallExpression", - "start": 230, - "end": 243, + "id": { + "type": "Identifier", + "start": 348, + "end": 352, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 16 + }, + "identifierName": "dest" + }, + "name": "dest" + }, + "init": { + "type": "MemberExpression", + "start": 355, + "end": 366, + "loc": { + "start": { + "line": 12, + "column": 19 + }, + "end": { + "line": 12, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 355, + "end": 361, "loc": { "start": { - "line": 10, - "column": 16 + "line": 12, + "column": 19 }, "end": { - "line": 10, - "column": 29 - } + "line": 12, + "column": 25 + }, + "identifierName": "config" }, - "callee": { - "type": "MemberExpression", - "start": 230, - "end": 241, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 230, - "end": 237, - "loc": { - "start": { - "line": 10, - "column": 16 - }, - "end": { - "line": 10, - "column": 23 - }, - "identifierName": "process" - }, - "name": "process" - }, - "property": { - "type": "Identifier", - "start": 238, - "end": 241, - "loc": { - "start": { - "line": 10, - "column": 24 - }, - "end": { - "line": 10, - "column": 27 - }, - "identifierName": "cwd" - }, - "name": "cwd" - }, - "computed": false - }, - "arguments": [] - }, - { - "type": "MemberExpression", - "start": 247, - "end": 257, - "loc": { - "start": { - "line": 10, - "column": 33 - }, - "end": { - "line": 10, - "column": 43 - } - }, - "object": { - "type": "Identifier", - "start": 247, - "end": 253, - "loc": { - "start": { - "line": 10, - "column": 33 - }, - "end": { - "line": 10, - "column": 39 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 254, - "end": 257, - "loc": { - "start": { - "line": 10, - "column": 40 - }, - "end": { - "line": 10, - "column": 43 - }, - "identifierName": "src" - }, - "name": "src" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 228, - "end": 228, - "loc": { - "start": { - "line": 10, - "column": 14 + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 12, + "column": 26 }, "end": { - "line": 10, - "column": 14 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 244, - "end": 245, - "loc": { - "start": { - "line": 10, + "line": 12, "column": 30 }, - "end": { - "line": 10, - "column": 31 - } - }, - "value": { - "raw": "/", - "cooked": "/" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 258, - "end": 258, - "loc": { - "start": { - "line": 10, - "column": 44 - }, - "end": { - "line": 10, - "column": 44 - } - }, - "value": { - "raw": "", - "cooked": "" + "identifierName": "dest" }, - "tail": true - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 317, - "end": 329, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 18 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 317, - "end": 322, - "loc": { - "start": { - "line": 12, - "column": 6 - }, - "end": { - "line": 12, - "column": 11 - }, - "identifierName": "cache" - }, - "name": "cache", - "leadingComments": null - }, - "value": { - "type": "Identifier", - "start": 324, - "end": 329, - "loc": { - "start": { - "line": 12, - "column": 13 - }, - "end": { - "line": 12, - "column": 18 + "name": "dest" }, - "identifierName": "cache" - }, - "name": "cache" - }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Use the previous bundle as starting point.", - "start": 265, - "end": 310, - "loc": { - "start": { - "line": 11, - "column": 4 - }, - "end": { - "line": 11, - "column": 49 - } - } + "computed": false } - ] - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 337, - "end": 341, - "loc": { - "start": { - "line": 13, - "column": 7 - }, - "end": { - "line": 13, - "column": 11 - }, - "identifierName": "then" - }, - "name": "then" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 342, - "end": 805, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 29, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 342, - "end": 348, - "loc": { - "start": { - "line": 13, - "column": 12 - }, - "end": { - "line": 13, - "column": 18 - }, - "identifierName": "bundle" - }, - "name": "bundle" - } - ], - "body": { - "type": "BlockStatement", - "start": 352, - "end": 805, - "loc": { - "start": { - "line": 13, - "column": 22 + } + ], + "kind": "let" }, - "end": { - "line": 29, - "column": 5 - } - }, - "body": [ { - "type": "ExpressionStatement", - "start": 409, - "end": 424, + "type": "IfStatement", + "start": 376, + "end": 676, "loc": { "start": { - "line": 15, - "column": 6 + "line": 13, + "column": 8 }, "end": { - "line": 15, - "column": 21 + "line": 23, + "column": 9 } }, - "expression": { - "type": "AssignmentExpression", - "start": 409, - "end": 423, + "test": { + "type": "BinaryExpression", + "start": 380, + "end": 397, "loc": { "start": { - "line": 15, - "column": 6 + "line": 13, + "column": 12 }, "end": { - "line": 15, - "column": 20 + "line": 13, + "column": 29 } }, - "operator": "=", "left": { "type": "Identifier", - "start": 409, - "end": 414, + "start": 380, + "end": 386, "loc": { "start": { - "line": 15, - "column": 6 + "line": 13, + "column": 12 }, "end": { - "line": 15, - "column": 11 + "line": 13, + "column": 18 }, - "identifierName": "cache" + "identifierName": "format" }, - "name": "cache", - "leadingComments": null + "name": "format" }, + "operator": "!==", "right": { - "type": "Identifier", - "start": 417, - "end": 423, + "type": "StringLiteral", + "start": 391, + "end": 397, "loc": { "start": { - "line": 15, - "column": 14 + "line": 13, + "column": 23 }, "end": { - "line": 15, - "column": 20 - }, - "identifierName": "bundle" + "line": 13, + "column": 29 + } }, - "name": "bundle" - }, - "leadingComments": null + "extra": { + "rawValue": "iffe", + "raw": "'iffe'" + }, + "value": "iffe" + } }, - "leadingComments": [ - { - "type": "CommentLine", - "value": " Cache our bundle for later use (optional)", - "start": 358, - "end": 402, - "loc": { - "start": { - "line": 14, - "column": 4 - }, - "end": { - "line": 14, - "column": 48 - } - } - } - ] - }, - { - "type": "ExpressionStatement", - "start": 431, - "end": 746, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 27, - "column": 9 - } - }, - "expression": { - "type": "CallExpression", - "start": 431, - "end": 745, + "consequent": { + "type": "BlockStatement", + "start": 399, + "end": 676, "loc": { "start": { - "line": 16, - "column": 6 + "line": 13, + "column": 31 }, "end": { - "line": 27, - "column": 8 + "line": 23, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 431, - "end": 699, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 25, - "column": 14 - } - }, - "object": { - "type": "CallExpression", - "start": 431, - "end": 693, + "body": [ + { + "type": "SwitchStatement", + "start": 411, + "end": 666, "loc": { "start": { - "line": 16, - "column": 6 + "line": 14, + "column": 10 }, "end": { - "line": 25, - "column": 8 + "line": 22, + "column": 11 } }, - "callee": { - "type": "MemberExpression", - "start": 431, - "end": 443, + "discriminant": { + "type": "Identifier", + "start": 419, + "end": 425, "loc": { "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, + "line": 14, "column": 18 - } - }, - "object": { - "type": "Identifier", - "start": 431, - "end": 437, - "loc": { - "start": { - "line": 16, - "column": 6 - }, - "end": { - "line": 16, - "column": 12 - }, - "identifierName": "bundle" }, - "name": "bundle" - }, - "property": { - "type": "Identifier", - "start": 438, - "end": 443, - "loc": { - "start": { - "line": 16, - "column": 13 - }, - "end": { - "line": 16, - "column": 18 - }, - "identifierName": "write" + "end": { + "line": 14, + "column": 24 }, - "name": "write" + "identifierName": "format" }, - "computed": false + "name": "format" }, - "arguments": [ + "cases": [ { - "type": "ObjectExpression", - "start": 444, - "end": 692, + "type": "SwitchCase", + "start": 441, + "end": 527, "loc": { "start": { - "line": 16, - "column": 19 + "line": 15, + "column": 12 }, "end": { - "line": 25, - "column": 7 + "line": 17, + "column": 20 } }, - "properties": [ + "consequent": [ { - "type": "ObjectProperty", - "start": 454, - "end": 475, + "type": "ExpressionStatement", + "start": 467, + "end": 506, "loc": { "start": { - "line": 17, - "column": 8 + "line": 16, + "column": 14 }, "end": { - "line": 17, - "column": 29 + "line": 16, + "column": 53 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 454, - "end": 460, + "expression": { + "type": "AssignmentExpression", + "start": 467, + "end": 505, "loc": { "start": { - "line": 17, - "column": 8 - }, - "end": { - "line": 17, + "line": 16, "column": 14 }, - "identifierName": "format" - }, - "name": "format" - }, - "value": { - "type": "MemberExpression", - "start": 462, - "end": 475, - "loc": { - "start": { - "line": 17, - "column": 16 - }, "end": { - "line": 17, - "column": 29 + "line": 16, + "column": 52 } }, - "object": { + "operator": "=", + "left": { "type": "Identifier", - "start": 462, - "end": 468, + "start": 467, + "end": 471, "loc": { "start": { - "line": 17, - "column": 16 + "line": 16, + "column": 14 }, "end": { - "line": 17, - "column": 22 + "line": 16, + "column": 18 }, - "identifierName": "config" + "identifierName": "dest" }, - "name": "config" + "name": "dest" }, - "property": { - "type": "Identifier", - "start": 469, - "end": 475, + "right": { + "type": "CallExpression", + "start": 474, + "end": 505, "loc": { "start": { - "line": 17, - "column": 23 + "line": 16, + "column": 21 }, "end": { - "line": 17, - "column": 29 + "line": 16, + "column": 52 + } + }, + "callee": { + "type": "MemberExpression", + "start": 474, + "end": 486, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 474, + "end": 478, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 25 + }, + "identifierName": "dest" + }, + "name": "dest" + }, + "property": { + "type": "Identifier", + "start": 479, + "end": 486, + "loc": { + "start": { + "line": 16, + "column": 26 + }, + "end": { + "line": 16, + "column": 33 + }, + "identifierName": "replace" + }, + "name": "replace" }, - "identifierName": "format" + "computed": false }, - "name": "format" - }, - "computed": false + "arguments": [ + { + "type": "StringLiteral", + "start": 487, + "end": 492, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 39 + } + }, + "extra": { + "rawValue": ".js", + "raw": "'.js'" + }, + "value": ".js" + }, + { + "type": "StringLiteral", + "start": 494, + "end": 504, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 51 + } + }, + "extra": { + "rawValue": "-node.js", + "raw": "'-node.js'" + }, + "value": "-node.js" + } + ] + } } }, { - "type": "ObjectProperty", - "start": 485, - "end": 514, + "type": "BreakStatement", + "start": 521, + "end": 527, "loc": { "start": { - "line": 18, - "column": 8 + "line": 17, + "column": 14 }, "end": { - "line": 18, - "column": 37 + "line": 17, + "column": 20 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 485, - "end": 495, - "loc": { - "start": { - "line": 18, - "column": 8 - }, - "end": { - "line": 18, - "column": 18 - }, - "identifierName": "moduleName" + "label": null + } + ], + "test": { + "type": "StringLiteral", + "start": 446, + "end": 451, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 22 + } + }, + "extra": { + "rawValue": "cjs", + "raw": "'cjs'" + }, + "value": "cjs" + } + }, + { + "type": "SwitchCase", + "start": 540, + "end": 550, + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 22 + } + }, + "consequent": [], + "test": { + "type": "StringLiteral", + "start": 545, + "end": 549, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 21 + } + }, + "extra": { + "rawValue": "es", + "raw": "'es'" + }, + "value": "es" + } + }, + { + "type": "SwitchCase", + "start": 563, + "end": 654, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 21, + "column": 20 + } + }, + "consequent": [ + { + "type": "ExpressionStatement", + "start": 589, + "end": 633, + "loc": { + "start": { + "line": 20, + "column": 14 }, - "name": "moduleName" + "end": { + "line": 20, + "column": 58 + } }, - "value": { - "type": "MemberExpression", - "start": 497, - "end": 514, + "expression": { + "type": "AssignmentExpression", + "start": 589, + "end": 632, "loc": { "start": { - "line": 18, - "column": 20 + "line": 20, + "column": 14 }, "end": { - "line": 18, - "column": 37 + "line": 20, + "column": 57 } }, - "object": { + "operator": "=", + "left": { "type": "Identifier", - "start": 497, - "end": 503, + "start": 589, + "end": 593, "loc": { "start": { - "line": 18, - "column": 20 + "line": 20, + "column": 14 }, "end": { - "line": 18, - "column": 26 + "line": 20, + "column": 18 }, - "identifierName": "config" + "identifierName": "dest" }, - "name": "config" + "name": "dest" }, - "property": { - "type": "Identifier", - "start": 504, - "end": 514, + "right": { + "type": "CallExpression", + "start": 596, + "end": 632, "loc": { "start": { - "line": 18, - "column": 27 + "line": 20, + "column": 21 }, "end": { - "line": 18, - "column": 37 - }, - "identifierName": "moduleName" + "line": 20, + "column": 57 + } }, - "name": "moduleName" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 524, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 35 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 524, - "end": 533, - "loc": { - "start": { - "line": 19, - "column": 8 - }, - "end": { - "line": 19, - "column": 17 - }, - "identifierName": "sourceMap" - }, - "name": "sourceMap" - }, - "value": { - "type": "MemberExpression", - "start": 535, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 35 - } - }, - "object": { - "type": "Identifier", - "start": 535, - "end": 541, - "loc": { - "start": { - "line": 19, - "column": 19 - }, - "end": { - "line": 19, - "column": 25 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 542, - "end": 551, - "loc": { - "start": { - "line": 19, - "column": 26 - }, - "end": { - "line": 19, - "column": 35 - }, - "identifierName": "sourceMap" - }, - "name": "sourceMap" - }, - "computed": false - } - }, - { - "type": "ObjectProperty", - "start": 561, - "end": 635, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 23, - "column": 9 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 561, - "end": 568, - "loc": { - "start": { - "line": 20, - "column": 8 - }, - "end": { - "line": 20, - "column": 15 - }, - "identifierName": "plugins" - }, - "name": "plugins" - }, - "value": { - "type": "ArrayExpression", - "start": 570, - "end": 635, - "loc": { - "start": { - "line": 20, - "column": 17 - }, - "end": { - "line": 23, - "column": 9 - } - }, - "elements": [ - { - "type": "CallExpression", - "start": 582, - "end": 588, + "callee": { + "type": "MemberExpression", + "start": 596, + "end": 608, "loc": { "start": { - "line": 21, - "column": 10 + "line": 20, + "column": 21 }, "end": { - "line": 21, - "column": 16 + "line": 20, + "column": 33 } }, - "callee": { + "object": { "type": "Identifier", - "start": 582, - "end": 586, + "start": 596, + "end": 600, "loc": { "start": { - "line": 21, - "column": 10 + "line": 20, + "column": 21 }, "end": { - "line": 21, - "column": 14 + "line": 20, + "column": 25 }, - "identifierName": "json" - }, - "name": "json" - }, - "arguments": [] - }, - { - "type": "CallExpression", - "start": 600, - "end": 625, - "loc": { - "start": { - "line": 22, - "column": 10 + "identifierName": "dest" }, - "end": { - "line": 22, - "column": 35 - } + "name": "dest" }, - "callee": { + "property": { "type": "Identifier", - "start": 600, - "end": 605, + "start": 601, + "end": 608, "loc": { "start": { - "line": 22, - "column": 10 + "line": 20, + "column": 26 }, "end": { - "line": 22, - "column": 15 + "line": 20, + "column": 33 }, - "identifierName": "babel" + "identifierName": "replace" }, - "name": "babel" + "name": "replace" }, - "arguments": [ - { - "type": "LogicalExpression", - "start": 606, - "end": 624, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 34 - } + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 609, + "end": 614, + "loc": { + "start": { + "line": 20, + "column": 34 }, - "left": { - "type": "MemberExpression", - "start": 606, - "end": 618, + "end": { + "line": 20, + "column": 39 + } + }, + "extra": { + "rawValue": ".js", + "raw": "'.js'" + }, + "value": ".js" + }, + { + "type": "TemplateLiteral", + "start": 616, + "end": 631, + "loc": { + "start": { + "line": 20, + "column": 41 + }, + "end": { + "line": 20, + "column": 56 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 620, + "end": 626, "loc": { "start": { - "line": 22, - "column": 16 + "line": 20, + "column": 45 }, "end": { - "line": 22, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 606, - "end": 612, - "loc": { - "start": { - "line": 22, - "column": 16 - }, - "end": { - "line": 22, - "column": 22 - }, - "identifierName": "config" + "line": 20, + "column": 51 }, - "name": "config" + "identifierName": "format" }, - "property": { - "type": "Identifier", - "start": 613, - "end": 618, - "loc": { - "start": { - "line": 22, - "column": 23 - }, - "end": { - "line": 22, - "column": 28 - }, - "identifierName": "babel" + "name": "format" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 20, + "column": 42 }, - "name": "babel" + "end": { + "line": 20, + "column": 43 + } }, - "computed": false + "value": { + "raw": "-", + "cooked": "-" + }, + "tail": false }, - "operator": "||", - "right": { - "type": "ObjectExpression", - "start": 622, - "end": 624, + { + "type": "TemplateElement", + "start": 627, + "end": 630, "loc": { "start": { - "line": 22, - "column": 32 + "line": 20, + "column": 52 }, "end": { - "line": 22, - "column": 34 + "line": 20, + "column": 55 } }, - "properties": [] + "value": { + "raw": ".js", + "cooked": ".js" + }, + "tail": true } - } - ] - } - ] + ] + } + ] + } } }, { - "type": "ObjectProperty", - "start": 645, - "end": 684, + "type": "BreakStatement", + "start": 648, + "end": 654, "loc": { "start": { - "line": 24, - "column": 8 + "line": 21, + "column": 14 }, "end": { - "line": 24, - "column": 47 + "line": 21, + "column": 20 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 645, - "end": 649, - "loc": { - "start": { - "line": 24, - "column": 8 - }, - "end": { - "line": 24, - "column": 12 - }, - "identifierName": "dest" - }, - "name": "dest" - }, - "value": { - "type": "TemplateLiteral", - "start": 651, - "end": 684, - "loc": { - "start": { - "line": 24, - "column": 14 - }, - "end": { - "line": 24, - "column": 47 - } - }, - "expressions": [ - { - "type": "CallExpression", - "start": 654, - "end": 667, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 30 - } - }, - "callee": { - "type": "MemberExpression", - "start": 654, - "end": 665, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 28 - } - }, - "object": { - "type": "Identifier", - "start": 654, - "end": 661, - "loc": { - "start": { - "line": 24, - "column": 17 - }, - "end": { - "line": 24, - "column": 24 - }, - "identifierName": "process" - }, - "name": "process" - }, - "property": { - "type": "Identifier", - "start": 662, - "end": 665, - "loc": { - "start": { - "line": 24, - "column": 25 - }, - "end": { - "line": 24, - "column": 28 - }, - "identifierName": "cwd" - }, - "name": "cwd" - }, - "computed": false - }, - "arguments": [] - }, - { - "type": "MemberExpression", - "start": 671, - "end": 682, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 24, - "column": 45 - } - }, - "object": { - "type": "Identifier", - "start": 671, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 24, - "column": 40 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 678, - "end": 682, - "loc": { - "start": { - "line": 24, - "column": 41 - }, - "end": { - "line": 24, - "column": 45 - }, - "identifierName": "dest" - }, - "name": "dest" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 652, - "end": 652, - "loc": { - "start": { - "line": 24, - "column": 15 - }, - "end": { - "line": 24, - "column": 15 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 668, - "end": 669, - "loc": { - "start": { - "line": 24, - "column": 31 - }, - "end": { - "line": 24, - "column": 32 - } - }, - "value": { - "raw": "/", - "cooked": "/" - }, - "tail": false - }, - { - "type": "TemplateElement", - "start": 683, - "end": 683, - "loc": { - "start": { - "line": 24, - "column": 46 - }, - "end": { - "line": 24, - "column": 46 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": true - } - ] - } - } - ] - } - ] - }, - "property": { - "type": "Identifier", - "start": 694, - "end": 699, - "loc": { - "start": { - "line": 25, - "column": 9 - }, - "end": { - "line": 25, - "column": 14 - }, - "identifierName": "catch" - }, - "name": "catch" - }, - "computed": false - }, - "arguments": [ - { - "type": "ArrowFunctionExpression", - "start": 700, - "end": 744, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 27, - "column": 7 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 700, - "end": 703, - "loc": { - "start": { - "line": 25, - "column": 15 - }, - "end": { - "line": 25, - "column": 18 - }, - "identifierName": "err" - }, - "name": "err" - } - ], - "body": { - "type": "BlockStatement", - "start": 707, - "end": 744, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 27, - "column": 7 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 717, - "end": 736, - "loc": { - "start": { - "line": 26, - "column": 8 + "label": null + } + ], + "test": { + "type": "StringLiteral", + "start": 568, + "end": 573, + "loc": { + "start": { + "line": 19, + "column": 17 }, "end": { - "line": 26, - "column": 27 + "line": 19, + "column": 22 } }, - "expression": { - "type": "CallExpression", - "start": 717, - "end": 735, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 26 - } - }, - "callee": { - "type": "MemberExpression", - "start": 717, - "end": 730, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 21 - } - }, - "object": { - "type": "Identifier", - "start": 717, - "end": 724, - "loc": { - "start": { - "line": 26, - "column": 8 - }, - "end": { - "line": 26, - "column": 15 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 725, - "end": 730, - "loc": { - "start": { - "line": 26, - "column": 16 - }, - "end": { - "line": 26, - "column": 21 - }, - "identifierName": "error" - }, - "name": "error" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 731, - "end": 734, - "loc": { - "start": { - "line": 26, - "column": 22 - }, - "end": { - "line": 26, - "column": 25 - }, - "identifierName": "err" - }, - "name": "err" - } - ] - } + "extra": { + "rawValue": "amd", + "raw": "'amd'" + }, + "value": "amd" } - ], - "directives": [] - } + } + ] } - ] - } + ], + "directives": [] + }, + "alternate": null }, { "type": "ExpressionStatement", - "start": 753, - "end": 799, + "start": 685, + "end": 719, "loc": { "start": { - "line": 28, - "column": 6 + "line": 24, + "column": 8 }, "end": { - "line": 28, - "column": 52 + "line": 24, + "column": 42 } }, "expression": { "type": "CallExpression", - "start": 753, - "end": 798, + "start": 685, + "end": 718, "loc": { "start": { - "line": 28, - "column": 6 + "line": 24, + "column": 8 }, "end": { - "line": 28, - "column": 51 + "line": 24, + "column": 41 } }, "callee": { "type": "MemberExpression", - "start": 753, - "end": 764, + "start": 685, + "end": 696, "loc": { "start": { - "line": 28, - "column": 6 + "line": 24, + "column": 8 }, "end": { - "line": 28, - "column": 17 + "line": 24, + "column": 19 } }, "object": { - "type": "Identifier", - "start": 753, - "end": 760, + "type": "ThisExpression", + "start": 685, + "end": 689, "loc": { "start": { - "line": 28, - "column": 6 + "line": 24, + "column": 8 }, "end": { - "line": 28, - "column": 13 - }, - "identifierName": "console" - }, - "name": "console" + "line": 24, + "column": 12 + } + } }, "property": { "type": "Identifier", - "start": 761, - "end": 764, + "start": 690, + "end": 696, "loc": { "start": { - "line": 28, - "column": 14 + "line": 24, + "column": 13 }, "end": { - "line": 28, - "column": 17 + "line": 24, + "column": 19 }, - "identifierName": "log" + "identifierName": "bundle" }, - "name": "log" + "name": "bundle" }, "computed": false }, "arguments": [ { - "type": "TemplateLiteral", - "start": 765, - "end": 797, + "type": "Identifier", + "start": 697, + "end": 703, "loc": { "start": { - "line": 28, - "column": 18 + "line": 24, + "column": 20 }, "end": { - "line": 28, - "column": 50 - } + "line": 24, + "column": 26 + }, + "identifierName": "config" }, - "expressions": [ - { - "type": "MemberExpression", - "start": 768, - "end": 779, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 28, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 768, - "end": 774, - "loc": { - "start": { - "line": 28, - "column": 21 - }, - "end": { - "line": 28, - "column": 27 - }, - "identifierName": "config" - }, - "name": "config" - }, - "property": { - "type": "Identifier", - "start": 775, - "end": 779, - "loc": { - "start": { - "line": 28, - "column": 28 - }, - "end": { - "line": 28, - "column": 32 - }, - "identifierName": "name" - }, - "name": "name" - }, - "computed": false - } - ], - "quasis": [ - { - "type": "TemplateElement", - "start": 766, - "end": 766, - "loc": { - "start": { - "line": 28, - "column": 19 - }, - "end": { - "line": 28, - "column": 19 - } - }, - "value": { - "raw": "", - "cooked": "" - }, - "tail": false + "name": "config" + }, + { + "type": "Identifier", + "start": 705, + "end": 709, + "loc": { + "start": { + "line": 24, + "column": 28 }, - { - "type": "TemplateElement", - "start": 780, - "end": 796, - "loc": { - "start": { - "line": 28, - "column": 33 - }, - "end": { - "line": 28, - "column": 49 - } - }, - "value": { - "raw": "::build finished", - "cooked": "::build finished" - }, - "tail": true - } - ] + "end": { + "line": 24, + "column": 32 + }, + "identifierName": "dest" + }, + "name": "dest" + }, + { + "type": "Identifier", + "start": 711, + "end": 717, + "loc": { + "start": { + "line": 24, + "column": 34 + }, + "end": { + "line": 24, + "column": 40 + }, + "identifierName": "format" + }, + "name": "format" } ] } @@ -2315,98 +1841,5456 @@ "directives": [] } } - ] + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 739, + "end": 801, + "loc": { + "start": { + "line": 26, + "column": 11 + }, + "end": { + "line": 28, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 747, + "end": 795, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 54 + } + }, + "expression": { + "type": "CallExpression", + "start": 747, + "end": 794, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 53 + } + }, + "callee": { + "type": "MemberExpression", + "start": 747, + "end": 758, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 747, + "end": 751, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 10 + } + } + }, + "property": { + "type": "Identifier", + "start": 752, + "end": 758, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 17 + }, + "identifierName": "bundle" + }, + "name": "bundle" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 759, + "end": 765, + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 24 + }, + "identifierName": "config" + }, + "name": "config" + }, + { + "type": "MemberExpression", + "start": 767, + "end": 778, + "loc": { + "start": { + "line": 27, + "column": 26 + }, + "end": { + "line": 27, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 767, + "end": 773, + "loc": { + "start": { + "line": 27, + "column": 26 + }, + "end": { + "line": 27, + "column": 32 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 774, + "end": 778, + "loc": { + "start": { + "line": 27, + "column": 33 + }, + "end": { + "line": 27, + "column": 37 + }, + "identifierName": "dest" + }, + "name": "dest" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 780, + "end": 793, + "loc": { + "start": { + "line": 27, + "column": 39 + }, + "end": { + "line": 27, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 780, + "end": 786, + "loc": { + "start": { + "line": 27, + "column": 39 + }, + "end": { + "line": 27, + "column": 45 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 787, + "end": 793, + "loc": { + "start": { + "line": 27, + "column": 46 + }, + "end": { + "line": 27, + "column": 52 + }, + "identifierName": "format" + }, + "name": "format" + }, + "computed": false + } + ] + } + } + ], + "directives": [] } } ], "directives": [] } - } - ] - }, - "leadingComments": [], - "trailingComments": [] + }, + { + "type": "ClassMethod", + "start": 809, + "end": 1436, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 53, + "column": 3 + } + }, + "computed": false, + "key": { + "type": "Identifier", + "start": 809, + "end": 815, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 8 + }, + "identifierName": "bundle" + }, + "name": "bundle" + }, + "static": false, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 816, + "end": 822, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 15 + }, + "identifierName": "config" + }, + "name": "config" + }, + { + "type": "Identifier", + "start": 824, + "end": 828, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 21 + }, + "identifierName": "dest" + }, + "name": "dest" + }, + { + "type": "Identifier", + "start": 830, + "end": 836, + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 29 + }, + "identifierName": "format" + }, + "name": "format" + } + ], + "body": { + "type": "BlockStatement", + "start": 838, + "end": 1436, + "loc": { + "start": { + "line": 31, + "column": 31 + }, + "end": { + "line": 53, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 844, + "end": 1432, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 52, + "column": 7 + } + }, + "expression": { + "type": "CallExpression", + "start": 844, + "end": 1431, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 52, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 844, + "end": 980, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 36, + "column": 11 + } + }, + "object": { + "type": "CallExpression", + "start": 844, + "end": 975, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 36, + "column": 6 + } + }, + "callee": { + "type": "Identifier", + "start": 844, + "end": 850, + "loc": { + "start": { + "line": 32, + "column": 4 + }, + "end": { + "line": 32, + "column": 10 + }, + "identifierName": "rollup" + }, + "name": "rollup" + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 851, + "end": 974, + "loc": { + "start": { + "line": 32, + "column": 11 + }, + "end": { + "line": 36, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 859, + "end": 898, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 45 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 859, + "end": 864, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 11 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "value": { + "type": "TemplateLiteral", + "start": 866, + "end": 898, + "loc": { + "start": { + "line": 33, + "column": 13 + }, + "end": { + "line": 33, + "column": 45 + } + }, + "expressions": [ + { + "type": "CallExpression", + "start": 869, + "end": 882, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 869, + "end": 880, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 869, + "end": 876, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 23 + }, + "identifierName": "process" + }, + "name": "process" + }, + "property": { + "type": "Identifier", + "start": 877, + "end": 880, + "loc": { + "start": { + "line": 33, + "column": 24 + }, + "end": { + "line": 33, + "column": 27 + }, + "identifierName": "cwd" + }, + "name": "cwd" + }, + "computed": false + }, + "arguments": [] + }, + { + "type": "MemberExpression", + "start": 886, + "end": 896, + "loc": { + "start": { + "line": 33, + "column": 33 + }, + "end": { + "line": 33, + "column": 43 + } + }, + "object": { + "type": "Identifier", + "start": 886, + "end": 892, + "loc": { + "start": { + "line": 33, + "column": 33 + }, + "end": { + "line": 33, + "column": 39 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 893, + "end": 896, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 43 + }, + "identifierName": "src" + }, + "name": "src" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 867, + "end": 867, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 14 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 883, + "end": 884, + "loc": { + "start": { + "line": 33, + "column": 30 + }, + "end": { + "line": 33, + "column": 31 + } + }, + "value": { + "raw": "/", + "cooked": "/" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 897, + "end": 897, + "loc": { + "start": { + "line": 33, + "column": 44 + }, + "end": { + "line": 33, + "column": 44 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 956, + "end": 968, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 956, + "end": 961, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 11 + }, + "identifierName": "cache" + }, + "name": "cache", + "leadingComments": null + }, + "value": { + "type": "Identifier", + "start": 963, + "end": 968, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 18 + }, + "identifierName": "cache" + }, + "name": "cache" + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Use the previous bundle as starting point.", + "start": 904, + "end": 949, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 49 + } + } + } + ] + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 976, + "end": 980, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 11 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 981, + "end": 1430, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 981, + "end": 987, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 18 + }, + "identifierName": "bundle" + }, + "name": "bundle" + } + ], + "body": { + "type": "BlockStatement", + "start": 991, + "end": 1430, + "loc": { + "start": { + "line": 36, + "column": 22 + }, + "end": { + "line": 52, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1048, + "end": 1063, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 21 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1048, + "end": 1062, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 20 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1048, + "end": 1053, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 11 + }, + "identifierName": "cache" + }, + "name": "cache", + "leadingComments": null + }, + "right": { + "type": "Identifier", + "start": 1056, + "end": 1062, + "loc": { + "start": { + "line": 38, + "column": 14 + }, + "end": { + "line": 38, + "column": 20 + }, + "identifierName": "bundle" + }, + "name": "bundle" + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentLine", + "value": " Cache our bundle for later use (optional)", + "start": 997, + "end": 1041, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 48 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1070, + "end": 1371, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 50, + "column": 9 + } + }, + "expression": { + "type": "CallExpression", + "start": 1070, + "end": 1370, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 50, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1070, + "end": 1324, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 48, + "column": 14 + } + }, + "object": { + "type": "CallExpression", + "start": 1070, + "end": 1318, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 48, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1070, + "end": 1082, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1070, + "end": 1076, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 12 + }, + "identifierName": "bundle" + }, + "name": "bundle" + }, + "property": { + "type": "Identifier", + "start": 1077, + "end": 1082, + "loc": { + "start": { + "line": 39, + "column": 13 + }, + "end": { + "line": 39, + "column": 18 + }, + "identifierName": "write" + }, + "name": "write" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1083, + "end": 1317, + "loc": { + "start": { + "line": 39, + "column": 19 + }, + "end": { + "line": 48, + "column": 7 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1093, + "end": 1107, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1093, + "end": 1099, + "loc": { + "start": { + "line": 40, + "column": 8 + }, + "end": { + "line": 40, + "column": 14 + }, + "identifierName": "format" + }, + "name": "format" + }, + "value": { + "type": "Identifier", + "start": 1101, + "end": 1107, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 22 + }, + "identifierName": "format" + }, + "name": "format" + } + }, + { + "type": "ObjectProperty", + "start": 1117, + "end": 1146, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1117, + "end": 1127, + "loc": { + "start": { + "line": 41, + "column": 8 + }, + "end": { + "line": 41, + "column": 18 + }, + "identifierName": "moduleName" + }, + "name": "moduleName" + }, + "value": { + "type": "MemberExpression", + "start": 1129, + "end": 1146, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 1129, + "end": 1135, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 41, + "column": 26 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1136, + "end": 1146, + "loc": { + "start": { + "line": 41, + "column": 27 + }, + "end": { + "line": 41, + "column": 37 + }, + "identifierName": "moduleName" + }, + "name": "moduleName" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1156, + "end": 1183, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1156, + "end": 1165, + "loc": { + "start": { + "line": 42, + "column": 8 + }, + "end": { + "line": 42, + "column": 17 + }, + "identifierName": "sourceMap" + }, + "name": "sourceMap" + }, + "value": { + "type": "MemberExpression", + "start": 1167, + "end": 1183, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 1167, + "end": 1173, + "loc": { + "start": { + "line": 42, + "column": 19 + }, + "end": { + "line": 42, + "column": 25 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1174, + "end": 1183, + "loc": { + "start": { + "line": 42, + "column": 26 + }, + "end": { + "line": 42, + "column": 35 + }, + "identifierName": "sourceMap" + }, + "name": "sourceMap" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1193, + "end": 1267, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 46, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1193, + "end": 1200, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 15 + }, + "identifierName": "plugins" + }, + "name": "plugins" + }, + "value": { + "type": "ArrayExpression", + "start": 1202, + "end": 1267, + "loc": { + "start": { + "line": 43, + "column": 17 + }, + "end": { + "line": 46, + "column": 9 + } + }, + "elements": [ + { + "type": "CallExpression", + "start": 1214, + "end": 1220, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 16 + } + }, + "callee": { + "type": "Identifier", + "start": 1214, + "end": 1218, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 14 + }, + "identifierName": "json" + }, + "name": "json" + }, + "arguments": [] + }, + { + "type": "CallExpression", + "start": 1232, + "end": 1257, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 35 + } + }, + "callee": { + "type": "Identifier", + "start": 1232, + "end": 1237, + "loc": { + "start": { + "line": 45, + "column": 10 + }, + "end": { + "line": 45, + "column": 15 + }, + "identifierName": "babel" + }, + "name": "babel" + }, + "arguments": [ + { + "type": "LogicalExpression", + "start": 1238, + "end": 1256, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 34 + } + }, + "left": { + "type": "MemberExpression", + "start": 1238, + "end": 1250, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 1238, + "end": 1244, + "loc": { + "start": { + "line": 45, + "column": 16 + }, + "end": { + "line": 45, + "column": 22 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1245, + "end": 1250, + "loc": { + "start": { + "line": 45, + "column": 23 + }, + "end": { + "line": 45, + "column": 28 + }, + "identifierName": "babel" + }, + "name": "babel" + }, + "computed": false + }, + "operator": "||", + "right": { + "type": "ObjectExpression", + "start": 1254, + "end": 1256, + "loc": { + "start": { + "line": 45, + "column": 32 + }, + "end": { + "line": 45, + "column": 34 + } + }, + "properties": [] + } + } + ] + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1277, + "end": 1309, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 40 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1277, + "end": 1281, + "loc": { + "start": { + "line": 47, + "column": 8 + }, + "end": { + "line": 47, + "column": 12 + }, + "identifierName": "dest" + }, + "name": "dest" + }, + "value": { + "type": "TemplateLiteral", + "start": 1283, + "end": 1309, + "loc": { + "start": { + "line": 47, + "column": 14 + }, + "end": { + "line": 47, + "column": 40 + } + }, + "expressions": [ + { + "type": "CallExpression", + "start": 1286, + "end": 1299, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1286, + "end": 1297, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 1286, + "end": 1293, + "loc": { + "start": { + "line": 47, + "column": 17 + }, + "end": { + "line": 47, + "column": 24 + }, + "identifierName": "process" + }, + "name": "process" + }, + "property": { + "type": "Identifier", + "start": 1294, + "end": 1297, + "loc": { + "start": { + "line": 47, + "column": 25 + }, + "end": { + "line": 47, + "column": 28 + }, + "identifierName": "cwd" + }, + "name": "cwd" + }, + "computed": false + }, + "arguments": [] + }, + { + "type": "Identifier", + "start": 1303, + "end": 1307, + "loc": { + "start": { + "line": 47, + "column": 34 + }, + "end": { + "line": 47, + "column": 38 + }, + "identifierName": "dest" + }, + "name": "dest" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1284, + "end": 1284, + "loc": { + "start": { + "line": 47, + "column": 15 + }, + "end": { + "line": 47, + "column": 15 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1300, + "end": 1301, + "loc": { + "start": { + "line": 47, + "column": 31 + }, + "end": { + "line": 47, + "column": 32 + } + }, + "value": { + "raw": "/", + "cooked": "/" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1308, + "end": 1308, + "loc": { + "start": { + "line": 47, + "column": 39 + }, + "end": { + "line": 47, + "column": 39 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + ] + } + ] + }, + "property": { + "type": "Identifier", + "start": 1319, + "end": 1324, + "loc": { + "start": { + "line": 48, + "column": 9 + }, + "end": { + "line": 48, + "column": 14 + }, + "identifierName": "catch" + }, + "name": "catch" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 1325, + "end": 1369, + "loc": { + "start": { + "line": 48, + "column": 15 + }, + "end": { + "line": 50, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1325, + "end": 1328, + "loc": { + "start": { + "line": 48, + "column": 15 + }, + "end": { + "line": 48, + "column": 18 + }, + "identifierName": "err" + }, + "name": "err" + } + ], + "body": { + "type": "BlockStatement", + "start": 1332, + "end": 1369, + "loc": { + "start": { + "line": 48, + "column": 22 + }, + "end": { + "line": 50, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1342, + "end": 1361, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 1342, + "end": 1360, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1342, + "end": 1355, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1342, + "end": 1349, + "loc": { + "start": { + "line": 49, + "column": 8 + }, + "end": { + "line": 49, + "column": 15 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 1350, + "end": 1355, + "loc": { + "start": { + "line": 49, + "column": 16 + }, + "end": { + "line": 49, + "column": 21 + }, + "identifierName": "error" + }, + "name": "error" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1356, + "end": 1359, + "loc": { + "start": { + "line": 49, + "column": 22 + }, + "end": { + "line": 49, + "column": 25 + }, + "identifierName": "err" + }, + "name": "err" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 1378, + "end": 1424, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 52 + } + }, + "expression": { + "type": "CallExpression", + "start": 1378, + "end": 1423, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 51 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1378, + "end": 1389, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 1378, + "end": 1385, + "loc": { + "start": { + "line": 51, + "column": 6 + }, + "end": { + "line": 51, + "column": 13 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 1386, + "end": 1389, + "loc": { + "start": { + "line": 51, + "column": 14 + }, + "end": { + "line": 51, + "column": 17 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1390, + "end": 1422, + "loc": { + "start": { + "line": 51, + "column": 18 + }, + "end": { + "line": 51, + "column": 50 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 1393, + "end": 1404, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 1393, + "end": 1399, + "loc": { + "start": { + "line": 51, + "column": 21 + }, + "end": { + "line": 51, + "column": 27 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 1400, + "end": 1404, + "loc": { + "start": { + "line": 51, + "column": 28 + }, + "end": { + "line": 51, + "column": 32 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1391, + "end": 1391, + "loc": { + "start": { + "line": 51, + "column": 19 + }, + "end": { + "line": 51, + "column": 19 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1405, + "end": 1421, + "loc": { + "start": { + "line": 51, + "column": 33 + }, + "end": { + "line": 51, + "column": 49 + } + }, + "value": { + "raw": "::build finished", + "cooked": "::build finished" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + }, + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [ + { + "type": "Directive", + "start": 0, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + } + } + } + ] + }, + "comments": [ + { + "type": "CommentLine", + "value": " Use the previous bundle as starting point.", + "start": 904, + "end": 949, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 49 + } + } + }, + { + "type": "CommentLine", + "value": " Cache our bundle for later use (optional)", + "start": 997, + "end": 1041, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 48 + } + } + } + ], + "tokens": [ + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 14, + "end": 19, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 20, + "end": 21, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "rollup", + "start": 21, + "end": 27, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 27, + "end": 28, + "loc": { + "start": { + "line": 2, + "column": 13 + }, + "end": { + "line": 2, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 29, + "end": 30, + "loc": { + "start": { + "line": 2, + "column": 15 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 31, + "end": 38, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 38, + "end": 39, + "loc": { + "start": { + "line": 2, + "column": 24 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rollup", + "start": 39, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 25 + }, + "end": { + "line": 2, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 47, + "end": 48, + "loc": { + "start": { + "line": 2, + "column": 33 + }, + "end": { + "line": 2, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 48, + "end": 49, + "loc": { + "start": { + "line": 2, + "column": 34 + }, + "end": { + "line": 2, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 50, + "end": 55, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "json", + "start": 56, + "end": 60, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 61, + "end": 62, + "loc": { + "start": { + "line": 3, + "column": 11 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 63, + "end": 70, + "loc": { + "start": { + "line": 3, + "column": 13 + }, + "end": { + "line": 3, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 70, + "end": 71, + "loc": { + "start": { + "line": 3, + "column": 20 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rollup-plugin-json", + "start": 71, + "end": 91, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 92, + "end": 93, + "loc": { + "start": { + "line": 3, + "column": 42 + }, + "end": { + "line": 3, + "column": 43 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 94, + "end": 99, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "babel", + "start": 100, + "end": 105, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 106, + "end": 107, + "loc": { + "start": { + "line": 4, + "column": 12 + }, + "end": { + "line": 4, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 108, + "end": 115, + "loc": { + "start": { + "line": 4, + "column": 14 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "rollup-plugin-babel", + "start": 116, + "end": 137, + "loc": { + "start": { + "line": 4, + "column": 22 + }, + "end": { + "line": 4, + "column": 43 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 137, + "end": 138, + "loc": { + "start": { + "line": 4, + "column": 43 + }, + "end": { + "line": 4, + "column": 44 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 138, + "end": 139, + "loc": { + "start": { + "line": 4, + "column": 44 + }, + "end": { + "line": 4, + "column": 45 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 140, + "end": 143, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "cache", + "start": 144, + "end": 149, + "loc": { + "start": { + "line": 5, + "column": 4 + }, + "end": { + "line": 5, + "column": 9 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 149, + "end": 150, + "loc": { + "start": { + "line": 5, + "column": 9 + }, + "end": { + "line": 5, + "column": 10 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 152, + "end": 158, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 159, + "end": 166, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 14 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 167, + "end": 172, + "loc": { + "start": { + "line": 7, + "column": 15 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Builder", + "start": 173, + "end": 180, + "loc": { + "start": { + "line": 7, + "column": 21 + }, + "end": { + "line": 7, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 181, + "end": 182, + "loc": { + "start": { + "line": 7, + "column": 29 + }, + "end": { + "line": 7, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "build", + "start": 185, + "end": 190, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 190, + "end": 191, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 191, + "end": 197, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 197, + "end": 198, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 199, + "end": 200, + "loc": { + "start": { + "line": 8, + "column": 16 + }, + "end": { + "line": 8, + "column": 17 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 205, + "end": 207, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 208, + "end": 209, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 209, + "end": 215, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 215, + "end": 216, + "loc": { + "start": { + "line": 9, + "column": 14 + }, + "end": { + "line": 9, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 216, + "end": 222, + "loc": { + "start": { + "line": 9, + "column": 15 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 223, + "end": 225, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 24 + } + } + }, + { + "type": { + "label": "typeof", + "keyword": "typeof", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "typeof", + "start": 226, + "end": 232, + "loc": { + "start": { + "line": 9, + "column": 25 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 233, + "end": 239, + "loc": { + "start": { + "line": 9, + "column": 32 + }, + "end": { + "line": 9, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 239, + "end": 240, + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 240, + "end": 246, + "loc": { + "start": { + "line": 9, + "column": 39 + }, + "end": { + "line": 9, + "column": 45 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 247, + "end": 250, + "loc": { + "start": { + "line": 9, + "column": 46 + }, + "end": { + "line": 9, + "column": 49 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "object", + "start": 251, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 50 + }, + "end": { + "line": 9, + "column": 58 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 259, + "end": 260, + "loc": { + "start": { + "line": 9, + "column": 58 + }, + "end": { + "line": 9, + "column": 59 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 261, + "end": 262, + "loc": { + "start": { + "line": 9, + "column": 60 + }, + "end": { + "line": 9, + "column": 61 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 269, + "end": 274, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "formats", + "start": 275, + "end": 282, + "loc": { + "start": { + "line": 10, + "column": 12 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 283, + "end": 284, + "loc": { + "start": { + "line": 10, + "column": 20 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 285, + "end": 291, + "loc": { + "start": { + "line": 10, + "column": 22 + }, + "end": { + "line": 10, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 291, + "end": 292, + "loc": { + "start": { + "line": 10, + "column": 28 + }, + "end": { + "line": 10, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 292, + "end": 298, + "loc": { + "start": { + "line": 10, + "column": 29 + }, + "end": { + "line": 10, + "column": 35 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 10, + "column": 35 + }, + "end": { + "line": 10, + "column": 36 + } + } + }, + { + "type": { + "label": "for", + "keyword": "for", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": true, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "for", + "start": 306, + "end": 309, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 311, + "end": 314, + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 11, + "column": 15 + }, + "end": { + "line": 11, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "of", + "start": 322, + "end": 324, + "loc": { + "start": { + "line": 11, + "column": 22 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "formats", + "start": 325, + "end": 332, + "loc": { + "start": { + "line": 11, + "column": 25 + }, + "end": { + "line": 11, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 332, + "end": 333, + "loc": { + "start": { + "line": 11, + "column": 32 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 334, + "end": 335, + "loc": { + "start": { + "line": 11, + "column": 34 + }, + "end": { + "line": 11, + "column": 35 + } + } + }, + { + "type": { + "label": "let", + "keyword": "let", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "let", + "start": 344, + "end": 347, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dest", + "start": 348, + "end": 352, + "loc": { + "start": { + "line": 12, + "column": 12 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 353, + "end": 354, + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 355, + "end": 361, + "loc": { + "start": { + "line": 12, + "column": 19 + }, + "end": { + "line": 12, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 361, + "end": 362, + "loc": { + "start": { + "line": 12, + "column": 25 + }, + "end": { + "line": 12, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dest", + "start": 362, + "end": 366, + "loc": { + "start": { + "line": 12, + "column": 26 + }, + "end": { + "line": 12, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 366, + "end": 367, + "loc": { + "start": { + "line": 12, + "column": 30 + }, + "end": { + "line": 12, + "column": 31 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 376, + "end": 378, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 379, + "end": 380, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 380, + "end": 386, + "loc": { + "start": { + "line": 13, + "column": 12 + }, + "end": { + "line": 13, + "column": 18 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "!==", + "start": 387, + "end": 390, + "loc": { + "start": { + "line": 13, + "column": 19 + }, + "end": { + "line": 13, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "iffe", + "start": 391, + "end": 397, + "loc": { + "start": { + "line": 13, + "column": 23 + }, + "end": { + "line": 13, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 397, + "end": 398, + "loc": { + "start": { + "line": 13, + "column": 29 + }, + "end": { + "line": 13, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 13, + "column": 31 + }, + "end": { + "line": 13, + "column": 32 + } + } + }, + { + "type": { + "label": "switch", + "keyword": "switch", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "switch", + "start": 411, + "end": 417, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 418, + "end": 419, + "loc": { + "start": { + "line": 14, + "column": 17 + }, + "end": { + "line": 14, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 419, + "end": 425, + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 425, + "end": 426, + "loc": { + "start": { + "line": 14, + "column": 24 + }, + "end": { + "line": 14, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 14, + "column": 26 + }, + "end": { + "line": 14, + "column": 27 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 441, + "end": 445, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cjs", + "start": 446, + "end": 451, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 451, + "end": 452, + "loc": { + "start": { + "line": 15, + "column": 22 + }, + "end": { + "line": 15, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dest", + "start": 467, + "end": 471, + "loc": { + "start": { + "line": 16, + "column": 14 + }, + "end": { + "line": 16, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 472, + "end": 473, + "loc": { + "start": { + "line": 16, + "column": 19 + }, + "end": { + "line": 16, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dest", + "start": 474, + "end": 478, + "loc": { + "start": { + "line": 16, + "column": 21 + }, + "end": { + "line": 16, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 478, + "end": 479, + "loc": { + "start": { + "line": 16, + "column": 25 + }, + "end": { + "line": 16, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "replace", + "start": 479, + "end": 486, + "loc": { + "start": { + "line": 16, + "column": 26 + }, + "end": { + "line": 16, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 486, + "end": 487, + "loc": { + "start": { + "line": 16, + "column": 33 + }, + "end": { + "line": 16, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".js", + "start": 487, + "end": 492, + "loc": { + "start": { + "line": 16, + "column": 34 + }, + "end": { + "line": 16, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 492, + "end": 493, + "loc": { + "start": { + "line": 16, + "column": 39 + }, + "end": { + "line": 16, + "column": 40 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-node.js", + "start": 494, + "end": 504, + "loc": { + "start": { + "line": 16, + "column": 41 + }, + "end": { + "line": 16, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 504, + "end": 505, + "loc": { + "start": { + "line": 16, + "column": 51 + }, + "end": { + "line": 16, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 16, + "column": 52 + }, + "end": { + "line": 16, + "column": 53 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "break", + "start": 521, + "end": 526, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 526, + "end": 527, + "loc": { + "start": { + "line": 17, + "column": 19 + }, + "end": { + "line": 17, + "column": 20 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 540, + "end": 544, + "loc": { + "start": { + "line": 18, + "column": 12 + }, + "end": { + "line": 18, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "es", + "start": 545, + "end": 549, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 21 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 18, + "column": 21 + }, + "end": { + "line": 18, + "column": 22 + } + } + }, + { + "type": { + "label": "case", + "keyword": "case", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 563, + "end": 567, + "loc": { + "start": { + "line": 19, + "column": 12 + }, + "end": { + "line": 19, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "amd", + "start": 568, + "end": 573, + "loc": { + "start": { + "line": 19, + "column": 17 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 573, + "end": 574, + "loc": { + "start": { + "line": 19, + "column": 22 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dest", + "start": 589, + "end": 593, + "loc": { + "start": { + "line": 20, + "column": 14 + }, + "end": { + "line": 20, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 594, + "end": 595, + "loc": { + "start": { + "line": 20, + "column": 19 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "dest", + "start": 596, + "end": 600, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 20, + "column": 25 + }, + "end": { + "line": 20, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "replace", + "start": 601, + "end": 608, + "loc": { + "start": { + "line": 20, + "column": 26 + }, + "end": { + "line": 20, + "column": 33 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 608, + "end": 609, + "loc": { + "start": { + "line": 20, + "column": 33 + }, + "end": { + "line": 20, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".js", + "start": 609, + "end": 614, + "loc": { + "start": { + "line": 20, + "column": 34 + }, + "end": { + "line": 20, + "column": 39 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 20, + "column": 39 + }, + "end": { + "line": 20, + "column": 40 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 616, + "end": 617, + "loc": { + "start": { + "line": 20, + "column": 41 + }, + "end": { + "line": 20, + "column": 42 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-", + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 20, + "column": 42 + }, + "end": { + "line": 20, + "column": 43 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 618, + "end": 620, + "loc": { + "start": { + "line": 20, + "column": 43 + }, + "end": { + "line": 20, + "column": 45 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "format", + "start": 620, + "end": 626, + "loc": { + "start": { + "line": 20, + "column": 45 + }, + "end": { + "line": 20, + "column": 51 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 626, + "end": 627, + "loc": { + "start": { + "line": 20, + "column": 51 + }, + "end": { + "line": 20, + "column": 52 } } - ], - "directives": [ - { - "type": "Directive", - "start": 0, - "end": 13, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 13 - } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": ".js", + "start": 627, + "end": 630, + "loc": { + "start": { + "line": 20, + "column": 52 }, - "value": { - "type": "DirectiveLiteral", - "start": 0, - "end": 12, - "loc": { - "start": { - "line": 1, - "column": 0 - }, - "end": { - "line": 1, - "column": 12 - } - }, - "value": "use strict", - "extra": { - "raw": "'use strict'", - "rawValue": "use strict" - } + "end": { + "line": 20, + "column": 55 } } - ] - }, - "comments": [ + }, { - "type": "CommentLine", - "value": " Use the previous bundle as starting point.", - "start": 265, - "end": 310, + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 630, + "end": 631, "loc": { "start": { - "line": 11, - "column": 4 + "line": 20, + "column": 55 }, "end": { - "line": 11, - "column": 49 + "line": 20, + "column": 56 } } }, { - "type": "CommentLine", - "value": " Cache our bundle for later use (optional)", - "start": 358, - "end": 402, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 631, + "end": 632, "loc": { "start": { - "line": 14, - "column": 4 + "line": 20, + "column": 56 }, "end": { - "line": 14, - "column": 48 + "line": 20, + "column": 57 } } - } - ], - "tokens": [ + }, { "type": { - "label": "string", + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 632, + "end": 633, + "loc": { + "start": { + "line": 20, + "column": 57 + }, + "end": { + "line": 20, + "column": 58 + } + } + }, + { + "type": { + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2415,17 +7299,17 @@ "binop": null, "updateContext": null }, - "value": "use strict", - "start": 0, - "end": 12, + "value": "break", + "start": 648, + "end": 653, "loc": { "start": { - "line": 1, - "column": 0 + "line": 21, + "column": 14 }, "end": { - "line": 1, - "column": 12 + "line": 21, + "column": 19 } } }, @@ -2442,23 +7326,100 @@ "binop": null, "updateContext": null }, - "start": 12, - "end": 13, + "start": 653, + "end": 654, "loc": { "start": { - "line": 1, - "column": 12 + "line": 21, + "column": 19 }, "end": { - "line": 1, - "column": 13 + "line": 21, + "column": 20 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 22, + "column": 10 + }, + "end": { + "line": 22, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 675, + "end": 676, + "loc": { + "start": { + "line": 23, + "column": 8 + }, + "end": { + "line": 23, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 685, + "end": 689, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 12 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2469,24 +7430,23 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 14, - "end": 19, + "start": 689, + "end": 690, "loc": { "start": { - "line": 2, - "column": 0 + "line": 24, + "column": 12 }, "end": { - "line": 2, - "column": 5 + "line": 24, + "column": 13 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2495,23 +7455,24 @@ "postfix": false, "binop": null }, - "start": 20, - "end": 21, + "value": "bundle", + "start": 690, + "end": 696, "loc": { "start": { - "line": 2, - "column": 6 + "line": 24, + "column": 13 }, "end": { - "line": 2, - "column": 7 + "line": 24, + "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2520,25 +7481,24 @@ "postfix": false, "binop": null }, - "value": "rollup", - "start": 21, - "end": 27, + "start": 696, + "end": 697, "loc": { "start": { - "line": 2, - "column": 7 + "line": 24, + "column": 19 }, "end": { - "line": 2, - "column": 13 + "line": 24, + "column": 20 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2546,43 +7506,43 @@ "postfix": false, "binop": null }, - "start": 27, - "end": 28, + "value": "config", + "start": 697, + "end": 703, "loc": { "start": { - "line": 2, - "column": 13 + "line": 24, + "column": 20 }, "end": { - "line": 2, - "column": 14 + "line": 24, + "column": 26 } } }, { "type": { - "label": "=", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 29, - "end": 30, + "start": 703, + "end": 704, "loc": { "start": { - "line": 2, - "column": 15 + "line": 24, + "column": 26 }, "end": { - "line": 2, - "column": 16 + "line": 24, + "column": 27 } } }, @@ -2598,48 +7558,49 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 31, - "end": 38, + "value": "dest", + "start": 705, + "end": 709, "loc": { "start": { - "line": 2, - "column": 17 + "line": 24, + "column": 28 }, "end": { - "line": 2, - "column": 24 + "line": 24, + "column": 32 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 38, - "end": 39, + "start": 709, + "end": 710, "loc": { "start": { - "line": 2, - "column": 24 + "line": 24, + "column": 32 }, "end": { - "line": 2, - "column": 25 + "line": 24, + "column": 33 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2647,20 +7608,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "rollup", - "start": 39, - "end": 47, + "value": "format", + "start": 711, + "end": 717, "loc": { "start": { - "line": 2, - "column": 25 + "line": 24, + "column": 34 }, "end": { - "line": 2, - "column": 33 + "line": 24, + "column": 40 } } }, @@ -2676,16 +7636,16 @@ "postfix": false, "binop": null }, - "start": 47, - "end": 48, + "start": 717, + "end": 718, "loc": { "start": { - "line": 2, - "column": 33 + "line": 24, + "column": 40 }, "end": { - "line": 2, - "column": 34 + "line": 24, + "column": 41 } } }, @@ -2702,23 +7662,22 @@ "binop": null, "updateContext": null }, - "start": 48, - "end": 49, + "start": 718, + "end": 719, "loc": { "start": { - "line": 2, - "column": 34 + "line": 24, + "column": 41 }, "end": { - "line": 2, - "column": 35 + "line": 24, + "column": 42 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2726,28 +7685,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 50, - "end": 55, + "start": 726, + "end": 727, "loc": { "start": { - "line": 3, - "column": 0 + "line": 25, + "column": 6 }, "end": { - "line": 3, - "column": 5 + "line": 25, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2755,51 +7712,51 @@ "postfix": false, "binop": null }, - "value": "json", - "start": 56, - "end": 60, + "start": 732, + "end": 733, "loc": { "start": { - "line": 3, - "column": 6 + "line": 26, + "column": 4 }, "end": { - "line": 3, - "column": 10 + "line": 26, + "column": 5 } } }, { "type": { - "label": "=", + "label": "else", + "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 61, - "end": 62, + "value": "else", + "start": 734, + "end": 738, "loc": { "start": { - "line": 3, - "column": 11 + "line": 26, + "column": 6 }, "end": { - "line": 3, - "column": 12 + "line": 26, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2808,50 +7765,52 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 63, - "end": 70, + "start": 739, + "end": 740, "loc": { "start": { - "line": 3, - "column": 13 + "line": 26, + "column": 11 }, "end": { - "line": 3, - "column": 20 + "line": 26, + "column": 12 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "this", + "keyword": "this", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 70, - "end": 71, + "value": "this", + "start": 747, + "end": 751, "loc": { "start": { - "line": 3, - "column": 20 + "line": 27, + "column": 6 }, "end": { - "line": 3, - "column": 21 + "line": 27, + "column": 10 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2860,25 +7819,24 @@ "binop": null, "updateContext": null }, - "value": "rollup-plugin-json", - "start": 71, - "end": 91, + "start": 751, + "end": 752, "loc": { "start": { - "line": 3, - "column": 21 + "line": 27, + "column": 10 }, "end": { - "line": 3, - "column": 41 + "line": 27, + "column": 11 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2886,50 +7844,75 @@ "postfix": false, "binop": null }, - "start": 91, - "end": 92, + "value": "bundle", + "start": 752, + "end": 758, "loc": { "start": { - "line": 3, - "column": 41 + "line": 27, + "column": 11 }, "end": { - "line": 3, - "column": 42 + "line": 27, + "column": 17 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 92, - "end": 93, + "start": 758, + "end": 759, "loc": { "start": { - "line": 3, - "column": 42 + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 759, + "end": 765, + "loc": { + "start": { + "line": 27, + "column": 18 }, "end": { - "line": 3, - "column": 43 + "line": 27, + "column": 24 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2939,17 +7922,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 94, - "end": 99, + "start": 765, + "end": 766, "loc": { "start": { - "line": 4, - "column": 0 + "line": 27, + "column": 24 }, "end": { - "line": 4, - "column": 5 + "line": 27, + "column": 25 } } }, @@ -2965,44 +7947,43 @@ "postfix": false, "binop": null }, - "value": "babel", - "start": 100, - "end": 105, + "value": "config", + "start": 767, + "end": 773, "loc": { "start": { - "line": 4, - "column": 6 + "line": 27, + "column": 26 }, "end": { - "line": 4, - "column": 11 + "line": 27, + "column": 32 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 106, - "end": 107, + "start": 773, + "end": 774, "loc": { "start": { - "line": 4, - "column": 12 + "line": 27, + "column": 32 }, "end": { - "line": 4, - "column": 13 + "line": 27, + "column": 33 } } }, @@ -3018,48 +7999,49 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 108, - "end": 115, + "value": "dest", + "start": 774, + "end": 778, "loc": { "start": { - "line": 4, - "column": 14 + "line": 27, + "column": 33 }, "end": { - "line": 4, - "column": 21 + "line": 27, + "column": 37 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 115, - "end": 116, + "start": 778, + "end": 779, "loc": { "start": { - "line": 4, - "column": 21 + "line": 27, + "column": 37 }, "end": { - "line": 4, - "column": 22 + "line": 27, + "column": 38 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3067,26 +8049,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "rollup-plugin-babel", - "start": 116, - "end": 137, + "value": "config", + "start": 780, + "end": 786, "loc": { "start": { - "line": 4, - "column": 22 + "line": 27, + "column": 39 }, "end": { - "line": 4, - "column": 43 + "line": 27, + "column": 45 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3094,51 +8075,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 137, - "end": 138, + "start": 786, + "end": 787, "loc": { "start": { - "line": 4, - "column": 43 + "line": 27, + "column": 45 }, "end": { - "line": 4, - "column": 44 + "line": 27, + "column": 46 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 138, - "end": 139, + "value": "format", + "start": 787, + "end": 793, "loc": { "start": { - "line": 4, - "column": 44 + "line": 27, + "column": 46 }, "end": { - "line": 4, - "column": 45 + "line": 27, + "column": 52 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3146,79 +8127,75 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 140, - "end": 143, + "start": 793, + "end": 794, "loc": { "start": { - "line": 5, - "column": 0 + "line": 27, + "column": 52 }, "end": { - "line": 5, - "column": 3 + "line": 27, + "column": 53 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "cache", - "start": 144, - "end": 149, + "start": 794, + "end": 795, "loc": { "start": { - "line": 5, - "column": 4 + "line": 27, + "column": 53 }, "end": { - "line": 5, - "column": 9 + "line": 27, + "column": 54 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 149, - "end": 150, + "start": 800, + "end": 801, "loc": { "start": { - "line": 5, - "column": 9 + "line": 28, + "column": 4 }, "end": { - "line": 5, - "column": 10 + "line": 28, + "column": 5 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3226,76 +8203,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "export", - "start": 152, - "end": 158, + "start": 804, + "end": 805, "loc": { "start": { - "line": 7, - "column": 0 + "line": 29, + "column": 2 }, "end": { - "line": 7, - "column": 6 + "line": 29, + "column": 3 } } }, { "type": { - "label": "default", - "keyword": "default", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "default", - "start": 159, - "end": 166, + "value": "bundle", + "start": 809, + "end": 815, "loc": { "start": { - "line": 7, - "column": 7 + "line": 31, + "column": 2 }, "end": { - "line": 7, - "column": 14 + "line": 31, + "column": 8 } } }, { "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "class", - "start": 167, - "end": 172, + "start": 815, + "end": 816, "loc": { "start": { - "line": 7, - "column": 15 + "line": 31, + "column": 8 }, "end": { - "line": 7, - "column": 20 + "line": 31, + "column": 9 } } }, @@ -3310,43 +8280,44 @@ "prefix": false, "postfix": false, "binop": null - }, - "value": "Builder", - "start": 173, - "end": 180, + }, + "value": "config", + "start": 816, + "end": 822, "loc": { "start": { - "line": 7, - "column": 21 + "line": 31, + "column": 9 }, "end": { - "line": 7, - "column": 28 + "line": 31, + "column": 15 } } }, { "type": { - "label": "{", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 181, - "end": 182, + "start": 822, + "end": 823, "loc": { "start": { - "line": 7, - "column": 29 + "line": 31, + "column": 15 }, "end": { - "line": 7, - "column": 30 + "line": 31, + "column": 16 } } }, @@ -3362,42 +8333,43 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 185, - "end": 190, + "value": "dest", + "start": 824, + "end": 828, "loc": { "start": { - "line": 8, - "column": 2 + "line": 31, + "column": 17 }, "end": { - "line": 8, - "column": 7 + "line": 31, + "column": 21 } } }, { "type": { - "label": "(", + "label": ",", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 190, - "end": 191, + "start": 828, + "end": 829, "loc": { "start": { - "line": 8, - "column": 7 + "line": 31, + "column": 21 }, "end": { - "line": 8, - "column": 8 + "line": 31, + "column": 22 } } }, @@ -3413,17 +8385,17 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 191, - "end": 197, + "value": "format", + "start": 830, + "end": 836, "loc": { "start": { - "line": 8, - "column": 8 + "line": 31, + "column": 23 }, "end": { - "line": 8, - "column": 14 + "line": 31, + "column": 29 } } }, @@ -3439,16 +8411,16 @@ "postfix": false, "binop": null }, - "start": 197, - "end": 198, + "start": 836, + "end": 837, "loc": { "start": { - "line": 8, - "column": 14 + "line": 31, + "column": 29 }, "end": { - "line": 8, - "column": 15 + "line": 31, + "column": 30 } } }, @@ -3464,16 +8436,16 @@ "postfix": false, "binop": null }, - "start": 199, - "end": 200, + "start": 838, + "end": 839, "loc": { "start": { - "line": 8, - "column": 16 + "line": 31, + "column": 31 }, "end": { - "line": 8, - "column": 17 + "line": 31, + "column": 32 } } }, @@ -3490,15 +8462,15 @@ "binop": null }, "value": "rollup", - "start": 205, - "end": 211, + "start": 844, + "end": 850, "loc": { "start": { - "line": 9, + "line": 32, "column": 4 }, "end": { - "line": 9, + "line": 32, "column": 10 } } @@ -3515,15 +8487,15 @@ "postfix": false, "binop": null }, - "start": 211, - "end": 212, + "start": 850, + "end": 851, "loc": { "start": { - "line": 9, + "line": 32, "column": 10 }, "end": { - "line": 9, + "line": 32, "column": 11 } } @@ -3540,15 +8512,15 @@ "postfix": false, "binop": null }, - "start": 212, - "end": 213, + "start": 851, + "end": 852, "loc": { "start": { - "line": 9, + "line": 32, "column": 11 }, "end": { - "line": 9, + "line": 32, "column": 12 } } @@ -3566,15 +8538,15 @@ "binop": null }, "value": "entry", - "start": 220, - "end": 225, + "start": 859, + "end": 864, "loc": { "start": { - "line": 10, + "line": 33, "column": 6 }, "end": { - "line": 10, + "line": 33, "column": 11 } } @@ -3592,15 +8564,15 @@ "binop": null, "updateContext": null }, - "start": 225, - "end": 226, + "start": 864, + "end": 865, "loc": { "start": { - "line": 10, + "line": 33, "column": 11 }, "end": { - "line": 10, + "line": 33, "column": 12 } } @@ -3617,15 +8589,15 @@ "postfix": false, "binop": null }, - "start": 227, - "end": 228, + "start": 866, + "end": 867, "loc": { "start": { - "line": 10, + "line": 33, "column": 13 }, "end": { - "line": 10, + "line": 33, "column": 14 } } @@ -3644,15 +8616,15 @@ "updateContext": null }, "value": "", - "start": 228, - "end": 228, + "start": 867, + "end": 867, "loc": { "start": { - "line": 10, + "line": 33, "column": 14 }, "end": { - "line": 10, + "line": 33, "column": 14 } } @@ -3669,15 +8641,15 @@ "postfix": false, "binop": null }, - "start": 228, - "end": 230, + "start": 867, + "end": 869, "loc": { "start": { - "line": 10, + "line": 33, "column": 14 }, "end": { - "line": 10, + "line": 33, "column": 16 } } @@ -3695,15 +8667,15 @@ "binop": null }, "value": "process", - "start": 230, - "end": 237, + "start": 869, + "end": 876, "loc": { "start": { - "line": 10, + "line": 33, "column": 16 }, "end": { - "line": 10, + "line": 33, "column": 23 } } @@ -3721,15 +8693,15 @@ "binop": null, "updateContext": null }, - "start": 237, - "end": 238, + "start": 876, + "end": 877, "loc": { "start": { - "line": 10, + "line": 33, "column": 23 }, "end": { - "line": 10, + "line": 33, "column": 24 } } @@ -3747,15 +8719,15 @@ "binop": null }, "value": "cwd", - "start": 238, - "end": 241, + "start": 877, + "end": 880, "loc": { "start": { - "line": 10, + "line": 33, "column": 24 }, "end": { - "line": 10, + "line": 33, "column": 27 } } @@ -3772,15 +8744,15 @@ "postfix": false, "binop": null }, - "start": 241, - "end": 242, + "start": 880, + "end": 881, "loc": { "start": { - "line": 10, + "line": 33, "column": 27 }, "end": { - "line": 10, + "line": 33, "column": 28 } } @@ -3797,15 +8769,15 @@ "postfix": false, "binop": null }, - "start": 242, - "end": 243, + "start": 881, + "end": 882, "loc": { "start": { - "line": 10, + "line": 33, "column": 28 }, "end": { - "line": 10, + "line": 33, "column": 29 } } @@ -3822,15 +8794,15 @@ "postfix": false, "binop": null }, - "start": 243, - "end": 244, + "start": 882, + "end": 883, "loc": { "start": { - "line": 10, + "line": 33, "column": 29 }, "end": { - "line": 10, + "line": 33, "column": 30 } } @@ -3849,15 +8821,15 @@ "updateContext": null }, "value": "/", - "start": 244, - "end": 245, + "start": 883, + "end": 884, "loc": { "start": { - "line": 10, + "line": 33, "column": 30 }, "end": { - "line": 10, + "line": 33, "column": 31 } } @@ -3874,15 +8846,15 @@ "postfix": false, "binop": null }, - "start": 245, - "end": 247, + "start": 884, + "end": 886, "loc": { "start": { - "line": 10, + "line": 33, "column": 31 }, "end": { - "line": 10, + "line": 33, "column": 33 } } @@ -3900,15 +8872,15 @@ "binop": null }, "value": "config", - "start": 247, - "end": 253, + "start": 886, + "end": 892, "loc": { "start": { - "line": 10, + "line": 33, "column": 33 }, "end": { - "line": 10, + "line": 33, "column": 39 } } @@ -3926,15 +8898,15 @@ "binop": null, "updateContext": null }, - "start": 253, - "end": 254, + "start": 892, + "end": 893, "loc": { "start": { - "line": 10, + "line": 33, "column": 39 }, "end": { - "line": 10, + "line": 33, "column": 40 } } @@ -3952,15 +8924,15 @@ "binop": null }, "value": "src", - "start": 254, - "end": 257, + "start": 893, + "end": 896, "loc": { "start": { - "line": 10, + "line": 33, "column": 40 }, "end": { - "line": 10, + "line": 33, "column": 43 } } @@ -3977,15 +8949,15 @@ "postfix": false, "binop": null }, - "start": 257, - "end": 258, + "start": 896, + "end": 897, "loc": { "start": { - "line": 10, + "line": 33, "column": 43 }, "end": { - "line": 10, + "line": 33, "column": 44 } } @@ -4004,15 +8976,15 @@ "updateContext": null }, "value": "", - "start": 258, - "end": 258, + "start": 897, + "end": 897, "loc": { "start": { - "line": 10, + "line": 33, "column": 44 }, "end": { - "line": 10, + "line": 33, "column": 44 } } @@ -4029,15 +9001,15 @@ "postfix": false, "binop": null }, - "start": 258, - "end": 259, + "start": 897, + "end": 898, "loc": { "start": { - "line": 10, + "line": 33, "column": 44 }, "end": { - "line": 10, + "line": 33, "column": 45 } } @@ -4055,15 +9027,15 @@ "binop": null, "updateContext": null }, - "start": 259, - "end": 260, + "start": 898, + "end": 899, "loc": { "start": { - "line": 10, + "line": 33, "column": 45 }, "end": { - "line": 10, + "line": 33, "column": 46 } } @@ -4071,15 +9043,15 @@ { "type": "CommentLine", "value": " Use the previous bundle as starting point.", - "start": 265, - "end": 310, + "start": 904, + "end": 949, "loc": { "start": { - "line": 11, + "line": 34, "column": 4 }, "end": { - "line": 11, + "line": 34, "column": 49 } } @@ -4097,15 +9069,15 @@ "binop": null }, "value": "cache", - "start": 317, - "end": 322, + "start": 956, + "end": 961, "loc": { "start": { - "line": 12, + "line": 35, "column": 6 }, "end": { - "line": 12, + "line": 35, "column": 11 } } @@ -4123,15 +9095,15 @@ "binop": null, "updateContext": null }, - "start": 322, - "end": 323, + "start": 961, + "end": 962, "loc": { "start": { - "line": 12, + "line": 35, "column": 11 }, "end": { - "line": 12, + "line": 35, "column": 12 } } @@ -4149,15 +9121,15 @@ "binop": null }, "value": "cache", - "start": 324, - "end": 329, + "start": 963, + "end": 968, "loc": { "start": { - "line": 12, + "line": 35, "column": 13 }, "end": { - "line": 12, + "line": 35, "column": 18 } } @@ -4174,15 +9146,15 @@ "postfix": false, "binop": null }, - "start": 334, - "end": 335, + "start": 973, + "end": 974, "loc": { "start": { - "line": 13, + "line": 36, "column": 4 }, "end": { - "line": 13, + "line": 36, "column": 5 } } @@ -4199,15 +9171,15 @@ "postfix": false, "binop": null }, - "start": 335, - "end": 336, + "start": 974, + "end": 975, "loc": { "start": { - "line": 13, + "line": 36, "column": 5 }, "end": { - "line": 13, + "line": 36, "column": 6 } } @@ -4225,15 +9197,15 @@ "binop": null, "updateContext": null }, - "start": 336, - "end": 337, + "start": 975, + "end": 976, "loc": { "start": { - "line": 13, + "line": 36, "column": 6 }, "end": { - "line": 13, + "line": 36, "column": 7 } } @@ -4251,15 +9223,15 @@ "binop": null }, "value": "then", - "start": 337, - "end": 341, + "start": 976, + "end": 980, "loc": { "start": { - "line": 13, + "line": 36, "column": 7 }, "end": { - "line": 13, + "line": 36, "column": 11 } } @@ -4276,15 +9248,15 @@ "postfix": false, "binop": null }, - "start": 341, - "end": 342, + "start": 980, + "end": 981, "loc": { "start": { - "line": 13, + "line": 36, "column": 11 }, "end": { - "line": 13, + "line": 36, "column": 12 } } @@ -4302,15 +9274,15 @@ "binop": null }, "value": "bundle", - "start": 342, - "end": 348, + "start": 981, + "end": 987, "loc": { "start": { - "line": 13, + "line": 36, "column": 12 }, "end": { - "line": 13, + "line": 36, "column": 18 } } @@ -4328,15 +9300,15 @@ "binop": null, "updateContext": null }, - "start": 349, - "end": 351, + "start": 988, + "end": 990, "loc": { "start": { - "line": 13, + "line": 36, "column": 19 }, "end": { - "line": 13, + "line": 36, "column": 21 } } @@ -4353,15 +9325,15 @@ "postfix": false, "binop": null }, - "start": 352, - "end": 353, + "start": 991, + "end": 992, "loc": { "start": { - "line": 13, + "line": 36, "column": 22 }, "end": { - "line": 13, + "line": 36, "column": 23 } } @@ -4369,15 +9341,15 @@ { "type": "CommentLine", "value": " Cache our bundle for later use (optional)", - "start": 358, - "end": 402, + "start": 997, + "end": 1041, "loc": { "start": { - "line": 14, + "line": 37, "column": 4 }, "end": { - "line": 14, + "line": 37, "column": 48 } } @@ -4395,15 +9367,15 @@ "binop": null }, "value": "cache", - "start": 409, - "end": 414, + "start": 1048, + "end": 1053, "loc": { "start": { - "line": 15, + "line": 38, "column": 6 }, "end": { - "line": 15, + "line": 38, "column": 11 } } @@ -4422,15 +9394,15 @@ "updateContext": null }, "value": "=", - "start": 415, - "end": 416, + "start": 1054, + "end": 1055, "loc": { "start": { - "line": 15, + "line": 38, "column": 12 }, "end": { - "line": 15, + "line": 38, "column": 13 } } @@ -4448,15 +9420,15 @@ "binop": null }, "value": "bundle", - "start": 417, - "end": 423, + "start": 1056, + "end": 1062, "loc": { "start": { - "line": 15, + "line": 38, "column": 14 }, "end": { - "line": 15, + "line": 38, "column": 20 } } @@ -4474,15 +9446,15 @@ "binop": null, "updateContext": null }, - "start": 423, - "end": 424, + "start": 1062, + "end": 1063, "loc": { "start": { - "line": 15, + "line": 38, "column": 20 }, "end": { - "line": 15, + "line": 38, "column": 21 } } @@ -4500,15 +9472,15 @@ "binop": null }, "value": "bundle", - "start": 431, - "end": 437, + "start": 1070, + "end": 1076, "loc": { "start": { - "line": 16, + "line": 39, "column": 6 }, "end": { - "line": 16, + "line": 39, "column": 12 } } @@ -4526,15 +9498,15 @@ "binop": null, "updateContext": null }, - "start": 437, - "end": 438, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 16, + "line": 39, "column": 12 }, "end": { - "line": 16, + "line": 39, "column": 13 } } @@ -4552,15 +9524,15 @@ "binop": null }, "value": "write", - "start": 438, - "end": 443, + "start": 1077, + "end": 1082, "loc": { "start": { - "line": 16, + "line": 39, "column": 13 }, "end": { - "line": 16, + "line": 39, "column": 18 } } @@ -4577,15 +9549,15 @@ "postfix": false, "binop": null }, - "start": 443, - "end": 444, + "start": 1082, + "end": 1083, "loc": { "start": { - "line": 16, + "line": 39, "column": 18 }, "end": { - "line": 16, + "line": 39, "column": 19 } } @@ -4602,15 +9574,15 @@ "postfix": false, "binop": null }, - "start": 444, - "end": 445, + "start": 1083, + "end": 1084, "loc": { "start": { - "line": 16, + "line": 39, "column": 19 }, "end": { - "line": 16, + "line": 39, "column": 20 } } @@ -4628,15 +9600,15 @@ "binop": null }, "value": "format", - "start": 454, - "end": 460, + "start": 1093, + "end": 1099, "loc": { "start": { - "line": 17, + "line": 40, "column": 8 }, "end": { - "line": 17, + "line": 40, "column": 14 } } @@ -4654,15 +9626,15 @@ "binop": null, "updateContext": null }, - "start": 460, - "end": 461, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 17, + "line": 40, "column": 14 }, "end": { - "line": 17, + "line": 40, "column": 15 } } @@ -4679,69 +9651,17 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 462, - "end": 468, + "value": "format", + "start": 1101, + "end": 1107, "loc": { "start": { - "line": 17, + "line": 40, "column": 16 }, "end": { - "line": 17, - "column": 22 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 468, - "end": 469, - "loc": { - "start": { - "line": 17, + "line": 40, "column": 22 - }, - "end": { - "line": 17, - "column": 23 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "format", - "start": 469, - "end": 475, - "loc": { - "start": { - "line": 17, - "column": 23 - }, - "end": { - "line": 17, - "column": 29 } } }, @@ -4758,16 +9678,16 @@ "binop": null, "updateContext": null }, - "start": 475, - "end": 476, + "start": 1107, + "end": 1108, "loc": { "start": { - "line": 17, - "column": 29 + "line": 40, + "column": 22 }, - "end": { - "line": 17, - "column": 30 + "end": { + "line": 40, + "column": 23 } } }, @@ -4784,15 +9704,15 @@ "binop": null }, "value": "moduleName", - "start": 485, - "end": 495, + "start": 1117, + "end": 1127, "loc": { "start": { - "line": 18, + "line": 41, "column": 8 }, "end": { - "line": 18, + "line": 41, "column": 18 } } @@ -4810,15 +9730,15 @@ "binop": null, "updateContext": null }, - "start": 495, - "end": 496, + "start": 1127, + "end": 1128, "loc": { "start": { - "line": 18, + "line": 41, "column": 18 }, "end": { - "line": 18, + "line": 41, "column": 19 } } @@ -4836,15 +9756,15 @@ "binop": null }, "value": "config", - "start": 497, - "end": 503, + "start": 1129, + "end": 1135, "loc": { "start": { - "line": 18, + "line": 41, "column": 20 }, "end": { - "line": 18, + "line": 41, "column": 26 } } @@ -4862,15 +9782,15 @@ "binop": null, "updateContext": null }, - "start": 503, - "end": 504, + "start": 1135, + "end": 1136, "loc": { "start": { - "line": 18, + "line": 41, "column": 26 }, "end": { - "line": 18, + "line": 41, "column": 27 } } @@ -4888,15 +9808,15 @@ "binop": null }, "value": "moduleName", - "start": 504, - "end": 514, + "start": 1136, + "end": 1146, "loc": { "start": { - "line": 18, + "line": 41, "column": 27 }, "end": { - "line": 18, + "line": 41, "column": 37 } } @@ -4914,15 +9834,15 @@ "binop": null, "updateContext": null }, - "start": 514, - "end": 515, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 18, + "line": 41, "column": 37 }, "end": { - "line": 18, + "line": 41, "column": 38 } } @@ -4940,15 +9860,15 @@ "binop": null }, "value": "sourceMap", - "start": 524, - "end": 533, + "start": 1156, + "end": 1165, "loc": { "start": { - "line": 19, + "line": 42, "column": 8 }, "end": { - "line": 19, + "line": 42, "column": 17 } } @@ -4966,15 +9886,15 @@ "binop": null, "updateContext": null }, - "start": 533, - "end": 534, + "start": 1165, + "end": 1166, "loc": { "start": { - "line": 19, + "line": 42, "column": 17 }, "end": { - "line": 19, + "line": 42, "column": 18 } } @@ -4992,15 +9912,15 @@ "binop": null }, "value": "config", - "start": 535, - "end": 541, + "start": 1167, + "end": 1173, "loc": { "start": { - "line": 19, + "line": 42, "column": 19 }, "end": { - "line": 19, + "line": 42, "column": 25 } } @@ -5018,15 +9938,15 @@ "binop": null, "updateContext": null }, - "start": 541, - "end": 542, + "start": 1173, + "end": 1174, "loc": { "start": { - "line": 19, + "line": 42, "column": 25 }, "end": { - "line": 19, + "line": 42, "column": 26 } } @@ -5044,15 +9964,15 @@ "binop": null }, "value": "sourceMap", - "start": 542, - "end": 551, + "start": 1174, + "end": 1183, "loc": { "start": { - "line": 19, + "line": 42, "column": 26 }, "end": { - "line": 19, + "line": 42, "column": 35 } } @@ -5070,15 +9990,15 @@ "binop": null, "updateContext": null }, - "start": 551, - "end": 552, + "start": 1183, + "end": 1184, "loc": { "start": { - "line": 19, + "line": 42, "column": 35 }, "end": { - "line": 19, + "line": 42, "column": 36 } } @@ -5096,15 +10016,15 @@ "binop": null }, "value": "plugins", - "start": 561, - "end": 568, + "start": 1193, + "end": 1200, "loc": { "start": { - "line": 20, + "line": 43, "column": 8 }, "end": { - "line": 20, + "line": 43, "column": 15 } } @@ -5122,15 +10042,15 @@ "binop": null, "updateContext": null }, - "start": 568, - "end": 569, + "start": 1200, + "end": 1201, "loc": { "start": { - "line": 20, + "line": 43, "column": 15 }, "end": { - "line": 20, + "line": 43, "column": 16 } } @@ -5148,15 +10068,15 @@ "binop": null, "updateContext": null }, - "start": 570, - "end": 571, + "start": 1202, + "end": 1203, "loc": { "start": { - "line": 20, + "line": 43, "column": 17 }, "end": { - "line": 20, + "line": 43, "column": 18 } } @@ -5174,15 +10094,15 @@ "binop": null }, "value": "json", - "start": 582, - "end": 586, + "start": 1214, + "end": 1218, "loc": { "start": { - "line": 21, + "line": 44, "column": 10 }, "end": { - "line": 21, + "line": 44, "column": 14 } } @@ -5199,15 +10119,15 @@ "postfix": false, "binop": null }, - "start": 586, - "end": 587, + "start": 1218, + "end": 1219, "loc": { "start": { - "line": 21, + "line": 44, "column": 14 }, "end": { - "line": 21, + "line": 44, "column": 15 } } @@ -5224,15 +10144,15 @@ "postfix": false, "binop": null }, - "start": 587, - "end": 588, + "start": 1219, + "end": 1220, "loc": { "start": { - "line": 21, + "line": 44, "column": 15 }, "end": { - "line": 21, + "line": 44, "column": 16 } } @@ -5250,15 +10170,15 @@ "binop": null, "updateContext": null }, - "start": 588, - "end": 589, + "start": 1220, + "end": 1221, "loc": { "start": { - "line": 21, + "line": 44, "column": 16 }, "end": { - "line": 21, + "line": 44, "column": 17 } } @@ -5276,15 +10196,15 @@ "binop": null }, "value": "babel", - "start": 600, - "end": 605, + "start": 1232, + "end": 1237, "loc": { "start": { - "line": 22, + "line": 45, "column": 10 }, "end": { - "line": 22, + "line": 45, "column": 15 } } @@ -5301,15 +10221,15 @@ "postfix": false, "binop": null }, - "start": 605, - "end": 606, + "start": 1237, + "end": 1238, "loc": { "start": { - "line": 22, + "line": 45, "column": 15 }, "end": { - "line": 22, + "line": 45, "column": 16 } } @@ -5327,15 +10247,15 @@ "binop": null }, "value": "config", - "start": 606, - "end": 612, + "start": 1238, + "end": 1244, "loc": { "start": { - "line": 22, + "line": 45, "column": 16 }, "end": { - "line": 22, + "line": 45, "column": 22 } } @@ -5353,15 +10273,15 @@ "binop": null, "updateContext": null }, - "start": 612, - "end": 613, + "start": 1244, + "end": 1245, "loc": { "start": { - "line": 22, + "line": 45, "column": 22 }, "end": { - "line": 22, + "line": 45, "column": 23 } } @@ -5379,15 +10299,15 @@ "binop": null }, "value": "babel", - "start": 613, - "end": 618, + "start": 1245, + "end": 1250, "loc": { "start": { - "line": 22, + "line": 45, "column": 23 }, "end": { - "line": 22, + "line": 45, "column": 28 } } @@ -5406,15 +10326,15 @@ "updateContext": null }, "value": "||", - "start": 619, - "end": 621, + "start": 1251, + "end": 1253, "loc": { "start": { - "line": 22, + "line": 45, "column": 29 }, "end": { - "line": 22, + "line": 45, "column": 31 } } @@ -5431,15 +10351,15 @@ "postfix": false, "binop": null }, - "start": 622, - "end": 623, + "start": 1254, + "end": 1255, "loc": { "start": { - "line": 22, + "line": 45, "column": 32 }, "end": { - "line": 22, + "line": 45, "column": 33 } } @@ -5456,15 +10376,15 @@ "postfix": false, "binop": null }, - "start": 623, - "end": 624, + "start": 1255, + "end": 1256, "loc": { "start": { - "line": 22, + "line": 45, "column": 33 }, "end": { - "line": 22, + "line": 45, "column": 34 } } @@ -5481,15 +10401,15 @@ "postfix": false, "binop": null }, - "start": 624, - "end": 625, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 22, + "line": 45, "column": 34 }, "end": { - "line": 22, + "line": 45, "column": 35 } } @@ -5507,15 +10427,15 @@ "binop": null, "updateContext": null }, - "start": 634, - "end": 635, + "start": 1266, + "end": 1267, "loc": { "start": { - "line": 23, + "line": 46, "column": 8 }, "end": { - "line": 23, + "line": 46, "column": 9 } } @@ -5533,15 +10453,15 @@ "binop": null, "updateContext": null }, - "start": 635, - "end": 636, + "start": 1267, + "end": 1268, "loc": { "start": { - "line": 23, + "line": 46, "column": 9 }, "end": { - "line": 23, + "line": 46, "column": 10 } } @@ -5559,15 +10479,15 @@ "binop": null }, "value": "dest", - "start": 645, - "end": 649, + "start": 1277, + "end": 1281, "loc": { "start": { - "line": 24, + "line": 47, "column": 8 }, "end": { - "line": 24, + "line": 47, "column": 12 } } @@ -5585,15 +10505,15 @@ "binop": null, "updateContext": null }, - "start": 649, - "end": 650, + "start": 1281, + "end": 1282, "loc": { "start": { - "line": 24, + "line": 47, "column": 12 }, "end": { - "line": 24, + "line": 47, "column": 13 } } @@ -5610,15 +10530,15 @@ "postfix": false, "binop": null }, - "start": 651, - "end": 652, + "start": 1283, + "end": 1284, "loc": { "start": { - "line": 24, + "line": 47, "column": 14 }, "end": { - "line": 24, + "line": 47, "column": 15 } } @@ -5637,15 +10557,15 @@ "updateContext": null }, "value": "", - "start": 652, - "end": 652, + "start": 1284, + "end": 1284, "loc": { "start": { - "line": 24, + "line": 47, "column": 15 }, "end": { - "line": 24, + "line": 47, "column": 15 } } @@ -5662,15 +10582,15 @@ "postfix": false, "binop": null }, - "start": 652, - "end": 654, + "start": 1284, + "end": 1286, "loc": { "start": { - "line": 24, + "line": 47, "column": 15 }, "end": { - "line": 24, + "line": 47, "column": 17 } } @@ -5688,15 +10608,15 @@ "binop": null }, "value": "process", - "start": 654, - "end": 661, + "start": 1286, + "end": 1293, "loc": { "start": { - "line": 24, + "line": 47, "column": 17 }, "end": { - "line": 24, + "line": 47, "column": 24 } } @@ -5714,15 +10634,15 @@ "binop": null, "updateContext": null }, - "start": 661, - "end": 662, + "start": 1293, + "end": 1294, "loc": { "start": { - "line": 24, + "line": 47, "column": 24 }, "end": { - "line": 24, + "line": 47, "column": 25 } } @@ -5740,15 +10660,15 @@ "binop": null }, "value": "cwd", - "start": 662, - "end": 665, + "start": 1294, + "end": 1297, "loc": { "start": { - "line": 24, + "line": 47, "column": 25 }, "end": { - "line": 24, + "line": 47, "column": 28 } } @@ -5765,15 +10685,15 @@ "postfix": false, "binop": null }, - "start": 665, - "end": 666, + "start": 1297, + "end": 1298, "loc": { "start": { - "line": 24, + "line": 47, "column": 28 }, "end": { - "line": 24, + "line": 47, "column": 29 } } @@ -5790,15 +10710,15 @@ "postfix": false, "binop": null }, - "start": 666, - "end": 667, + "start": 1298, + "end": 1299, "loc": { "start": { - "line": 24, + "line": 47, "column": 29 }, "end": { - "line": 24, + "line": 47, "column": 30 } } @@ -5815,15 +10735,15 @@ "postfix": false, "binop": null }, - "start": 667, - "end": 668, + "start": 1299, + "end": 1300, "loc": { "start": { - "line": 24, + "line": 47, "column": 30 }, "end": { - "line": 24, + "line": 47, "column": 31 } } @@ -5842,15 +10762,15 @@ "updateContext": null }, "value": "/", - "start": 668, - "end": 669, + "start": 1300, + "end": 1301, "loc": { "start": { - "line": 24, + "line": 47, "column": 31 }, "end": { - "line": 24, + "line": 47, "column": 32 } } @@ -5867,71 +10787,19 @@ "postfix": false, "binop": null }, - "start": 669, - "end": 671, + "start": 1301, + "end": 1303, "loc": { "start": { - "line": 24, + "line": 47, "column": 32 }, "end": { - "line": 24, + "line": 47, "column": 34 } } }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "config", - "start": 671, - "end": 677, - "loc": { - "start": { - "line": 24, - "column": 34 - }, - "end": { - "line": 24, - "column": 40 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 677, - "end": 678, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 41 - } - } - }, { "type": { "label": "name", @@ -5945,16 +10813,16 @@ "binop": null }, "value": "dest", - "start": 678, - "end": 682, + "start": 1303, + "end": 1307, "loc": { "start": { - "line": 24, - "column": 41 + "line": 47, + "column": 34 }, "end": { - "line": 24, - "column": 45 + "line": 47, + "column": 38 } } }, @@ -5970,16 +10838,16 @@ "postfix": false, "binop": null }, - "start": 682, - "end": 683, + "start": 1307, + "end": 1308, "loc": { "start": { - "line": 24, - "column": 45 + "line": 47, + "column": 38 }, "end": { - "line": 24, - "column": 46 + "line": 47, + "column": 39 } } }, @@ -5997,16 +10865,16 @@ "updateContext": null }, "value": "", - "start": 683, - "end": 683, + "start": 1308, + "end": 1308, "loc": { "start": { - "line": 24, - "column": 46 + "line": 47, + "column": 39 }, "end": { - "line": 24, - "column": 46 + "line": 47, + "column": 39 } } }, @@ -6022,16 +10890,16 @@ "postfix": false, "binop": null }, - "start": 683, - "end": 684, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 24, - "column": 46 + "line": 47, + "column": 39 }, "end": { - "line": 24, - "column": 47 + "line": 47, + "column": 40 } } }, @@ -6047,15 +10915,15 @@ "postfix": false, "binop": null }, - "start": 691, - "end": 692, + "start": 1316, + "end": 1317, "loc": { "start": { - "line": 25, + "line": 48, "column": 6 }, "end": { - "line": 25, + "line": 48, "column": 7 } } @@ -6072,15 +10940,15 @@ "postfix": false, "binop": null }, - "start": 692, - "end": 693, + "start": 1317, + "end": 1318, "loc": { "start": { - "line": 25, + "line": 48, "column": 7 }, "end": { - "line": 25, + "line": 48, "column": 8 } } @@ -6098,15 +10966,15 @@ "binop": null, "updateContext": null }, - "start": 693, - "end": 694, + "start": 1318, + "end": 1319, "loc": { "start": { - "line": 25, + "line": 48, "column": 8 }, "end": { - "line": 25, + "line": 48, "column": 9 } } @@ -6126,15 +10994,15 @@ "updateContext": null }, "value": "catch", - "start": 694, - "end": 699, + "start": 1319, + "end": 1324, "loc": { "start": { - "line": 25, + "line": 48, "column": 9 }, "end": { - "line": 25, + "line": 48, "column": 14 } } @@ -6151,15 +11019,15 @@ "postfix": false, "binop": null }, - "start": 699, - "end": 700, + "start": 1324, + "end": 1325, "loc": { "start": { - "line": 25, + "line": 48, "column": 14 }, "end": { - "line": 25, + "line": 48, "column": 15 } } @@ -6177,15 +11045,15 @@ "binop": null }, "value": "err", - "start": 700, - "end": 703, + "start": 1325, + "end": 1328, "loc": { "start": { - "line": 25, + "line": 48, "column": 15 }, "end": { - "line": 25, + "line": 48, "column": 18 } } @@ -6203,15 +11071,15 @@ "binop": null, "updateContext": null }, - "start": 704, - "end": 706, + "start": 1329, + "end": 1331, "loc": { "start": { - "line": 25, + "line": 48, "column": 19 }, "end": { - "line": 25, + "line": 48, "column": 21 } } @@ -6228,15 +11096,15 @@ "postfix": false, "binop": null }, - "start": 707, - "end": 708, + "start": 1332, + "end": 1333, "loc": { "start": { - "line": 25, + "line": 48, "column": 22 }, "end": { - "line": 25, + "line": 48, "column": 23 } } @@ -6254,15 +11122,15 @@ "binop": null }, "value": "console", - "start": 717, - "end": 724, + "start": 1342, + "end": 1349, "loc": { "start": { - "line": 26, + "line": 49, "column": 8 }, "end": { - "line": 26, + "line": 49, "column": 15 } } @@ -6280,15 +11148,15 @@ "binop": null, "updateContext": null }, - "start": 724, - "end": 725, + "start": 1349, + "end": 1350, "loc": { "start": { - "line": 26, + "line": 49, "column": 15 }, "end": { - "line": 26, + "line": 49, "column": 16 } } @@ -6306,15 +11174,15 @@ "binop": null }, "value": "error", - "start": 725, - "end": 730, + "start": 1350, + "end": 1355, "loc": { "start": { - "line": 26, + "line": 49, "column": 16 }, "end": { - "line": 26, + "line": 49, "column": 21 } } @@ -6331,15 +11199,15 @@ "postfix": false, "binop": null }, - "start": 730, - "end": 731, + "start": 1355, + "end": 1356, "loc": { "start": { - "line": 26, + "line": 49, "column": 21 }, "end": { - "line": 26, + "line": 49, "column": 22 } } @@ -6357,15 +11225,15 @@ "binop": null }, "value": "err", - "start": 731, - "end": 734, + "start": 1356, + "end": 1359, "loc": { "start": { - "line": 26, + "line": 49, "column": 22 }, "end": { - "line": 26, + "line": 49, "column": 25 } } @@ -6382,15 +11250,15 @@ "postfix": false, "binop": null }, - "start": 734, - "end": 735, + "start": 1359, + "end": 1360, "loc": { "start": { - "line": 26, + "line": 49, "column": 25 }, "end": { - "line": 26, + "line": 49, "column": 26 } } @@ -6408,15 +11276,15 @@ "binop": null, "updateContext": null }, - "start": 735, - "end": 736, + "start": 1360, + "end": 1361, "loc": { "start": { - "line": 26, + "line": 49, "column": 26 }, "end": { - "line": 26, + "line": 49, "column": 27 } } @@ -6433,15 +11301,15 @@ "postfix": false, "binop": null }, - "start": 743, - "end": 744, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 27, + "line": 50, "column": 6 }, "end": { - "line": 27, + "line": 50, "column": 7 } } @@ -6458,15 +11326,15 @@ "postfix": false, "binop": null }, - "start": 744, - "end": 745, + "start": 1369, + "end": 1370, "loc": { "start": { - "line": 27, + "line": 50, "column": 7 }, "end": { - "line": 27, + "line": 50, "column": 8 } } @@ -6484,15 +11352,15 @@ "binop": null, "updateContext": null }, - "start": 745, - "end": 746, + "start": 1370, + "end": 1371, "loc": { "start": { - "line": 27, + "line": 50, "column": 8 }, "end": { - "line": 27, + "line": 50, "column": 9 } } @@ -6510,15 +11378,15 @@ "binop": null }, "value": "console", - "start": 753, - "end": 760, + "start": 1378, + "end": 1385, "loc": { "start": { - "line": 28, + "line": 51, "column": 6 }, "end": { - "line": 28, + "line": 51, "column": 13 } } @@ -6536,15 +11404,15 @@ "binop": null, "updateContext": null }, - "start": 760, - "end": 761, + "start": 1385, + "end": 1386, "loc": { "start": { - "line": 28, + "line": 51, "column": 13 }, "end": { - "line": 28, + "line": 51, "column": 14 } } @@ -6562,15 +11430,15 @@ "binop": null }, "value": "log", - "start": 761, - "end": 764, + "start": 1386, + "end": 1389, "loc": { "start": { - "line": 28, + "line": 51, "column": 14 }, "end": { - "line": 28, + "line": 51, "column": 17 } } @@ -6587,15 +11455,15 @@ "postfix": false, "binop": null }, - "start": 764, - "end": 765, + "start": 1389, + "end": 1390, "loc": { "start": { - "line": 28, + "line": 51, "column": 17 }, "end": { - "line": 28, + "line": 51, "column": 18 } } @@ -6612,15 +11480,15 @@ "postfix": false, "binop": null }, - "start": 765, - "end": 766, + "start": 1390, + "end": 1391, "loc": { "start": { - "line": 28, + "line": 51, "column": 18 }, "end": { - "line": 28, + "line": 51, "column": 19 } } @@ -6639,15 +11507,15 @@ "updateContext": null }, "value": "", - "start": 766, - "end": 766, + "start": 1391, + "end": 1391, "loc": { "start": { - "line": 28, + "line": 51, "column": 19 }, "end": { - "line": 28, + "line": 51, "column": 19 } } @@ -6664,15 +11532,15 @@ "postfix": false, "binop": null }, - "start": 766, - "end": 768, + "start": 1391, + "end": 1393, "loc": { "start": { - "line": 28, + "line": 51, "column": 19 }, "end": { - "line": 28, + "line": 51, "column": 21 } } @@ -6690,15 +11558,15 @@ "binop": null }, "value": "config", - "start": 768, - "end": 774, + "start": 1393, + "end": 1399, "loc": { "start": { - "line": 28, + "line": 51, "column": 21 }, "end": { - "line": 28, + "line": 51, "column": 27 } } @@ -6716,15 +11584,15 @@ "binop": null, "updateContext": null }, - "start": 774, - "end": 775, + "start": 1399, + "end": 1400, "loc": { "start": { - "line": 28, + "line": 51, "column": 27 }, "end": { - "line": 28, + "line": 51, "column": 28 } } @@ -6742,15 +11610,15 @@ "binop": null }, "value": "name", - "start": 775, - "end": 779, + "start": 1400, + "end": 1404, "loc": { "start": { - "line": 28, + "line": 51, "column": 28 }, "end": { - "line": 28, + "line": 51, "column": 32 } } @@ -6767,15 +11635,15 @@ "postfix": false, "binop": null }, - "start": 779, - "end": 780, + "start": 1404, + "end": 1405, "loc": { "start": { - "line": 28, + "line": 51, "column": 32 }, "end": { - "line": 28, + "line": 51, "column": 33 } } @@ -6794,15 +11662,15 @@ "updateContext": null }, "value": "::build finished", - "start": 780, - "end": 796, + "start": 1405, + "end": 1421, "loc": { "start": { - "line": 28, + "line": 51, "column": 33 }, "end": { - "line": 28, + "line": 51, "column": 49 } } @@ -6819,15 +11687,15 @@ "postfix": false, "binop": null }, - "start": 796, - "end": 797, + "start": 1421, + "end": 1422, "loc": { "start": { - "line": 28, + "line": 51, "column": 49 }, "end": { - "line": 28, + "line": 51, "column": 50 } } @@ -6844,15 +11712,15 @@ "postfix": false, "binop": null }, - "start": 797, - "end": 798, + "start": 1422, + "end": 1423, "loc": { "start": { - "line": 28, + "line": 51, "column": 50 }, "end": { - "line": 28, + "line": 51, "column": 51 } } @@ -6870,15 +11738,15 @@ "binop": null, "updateContext": null }, - "start": 798, - "end": 799, + "start": 1423, + "end": 1424, "loc": { "start": { - "line": 28, + "line": 51, "column": 51 }, "end": { - "line": 28, + "line": 51, "column": 52 } } @@ -6895,15 +11763,15 @@ "postfix": false, "binop": null }, - "start": 804, - "end": 805, + "start": 1429, + "end": 1430, "loc": { "start": { - "line": 29, + "line": 52, "column": 4 }, "end": { - "line": 29, + "line": 52, "column": 5 } } @@ -6920,15 +11788,15 @@ "postfix": false, "binop": null }, - "start": 805, - "end": 806, + "start": 1430, + "end": 1431, "loc": { "start": { - "line": 29, + "line": 52, "column": 5 }, "end": { - "line": 29, + "line": 52, "column": 6 } } @@ -6946,15 +11814,15 @@ "binop": null, "updateContext": null }, - "start": 806, - "end": 807, + "start": 1431, + "end": 1432, "loc": { "start": { - "line": 29, + "line": 52, "column": 6 }, "end": { - "line": 29, + "line": 52, "column": 7 } } @@ -6971,15 +11839,15 @@ "postfix": false, "binop": null }, - "start": 810, - "end": 811, + "start": 1435, + "end": 1436, "loc": { "start": { - "line": 30, + "line": 53, "column": 2 }, "end": { - "line": 30, + "line": 53, "column": 3 } } @@ -6996,15 +11864,15 @@ "postfix": false, "binop": null }, - "start": 812, - "end": 813, + "start": 1437, + "end": 1438, "loc": { "start": { - "line": 31, + "line": 54, "column": 0 }, "end": { - "line": 31, + "line": 54, "column": 1 } } @@ -7022,15 +11890,15 @@ "binop": null, "updateContext": null }, - "start": 814, - "end": 814, + "start": 1439, + "end": 1439, "loc": { "start": { - "line": 32, + "line": 55, "column": 0 }, "end": { - "line": 32, + "line": 55, "column": 0 } } diff --git a/docs/badge.svg b/docs/badge.svg index 8d64e85..d3183f3 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 54% - 54% + 50% + 50% diff --git a/docs/class/src/builder.js~Builder.html b/docs/class/src/builder.js~Builder.html index 679c562..d342b4f 100644 --- a/docs/class/src/builder.js~Builder.html +++ b/docs/class/src/builder.js~Builder.html @@ -111,6 +111,33 @@

Builder

+ + + + + public + + + + + + +
+

+ + + bundle(config: *, dest: *, format: *) +

+
+
+ + + +
+ + + + @@ -183,6 +210,77 @@

Params:

+ +
+

+ public + + + + + + bundle(config: *, dest: *, format: *) + + + + source + +

+ + + + + + + + +
+

Params:

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeAttributeDescription
config*
dest*
format*
+
+
+ + + + + + + + + + + + + + + + +
diff --git a/docs/coverage.json b/docs/coverage.json index b00d573..fb3bd0d 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,14 +1,15 @@ { - "coverage": "54.54%", - "expectCount": 11, + "coverage": "50%", + "expectCount": 12, "actualCount": 6, "files": { "src/builder.js": { - "expectCount": 2, + "expectCount": 3, "actualCount": 0, "undocumentLines": [ 7, - 8 + 8, + 31 ] }, "src/config.js": { diff --git a/docs/dump.json b/docs/dump.json index f790745..fab5074 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -173,7 +173,7 @@ "__docId__": 7, "kind": "file", "name": "src/builder.js", - "content": "'use strict';\nconst {rollup} = require('rollup');\nconst json = require('rollup-plugin-json');\nconst babel = require('rollup-plugin-babel');\nlet cache;\n\nexport default class Builder {\n build(config) {\n rollup({\n entry: `${process.cwd()}/${config.src}`,\n // Use the previous bundle as starting point.\n cache: cache\n }).then(bundle => {\n // Cache our bundle for later use (optional)\n cache = bundle;\n bundle.write({\n format: config.format,\n moduleName: config.moduleName,\n sourceMap: config.sourceMap,\n plugins: [\n json(),\n babel(config.babel || {})\n ],\n dest: `${process.cwd()}/${config.dest}`\n }).catch(err => {\n console.error(err);\n });\n console.log(`${config.name}::build finished`);\n });\n }\n}\n", + "content": "'use strict';\nconst {rollup} = require('rollup');\nconst json = require('rollup-plugin-json');\nconst babel = require('rollup-plugin-babel');\nlet cache;\n\nexport default class Builder {\n build(config) {\n if (config.format && typeof config.format === 'object') {\n const formats = config.format;\n for (let format of formats) {\n let dest = config.dest;\n if (format !== 'iffe') {\n switch (format) {\n case 'cjs':\n dest = dest.replace('.js', '-node.js');\n break;\n case 'es':\n case 'amd':\n dest = dest.replace('.js', `-${format}.js`);\n break;\n }\n }\n this.bundle(config, dest, format);\n }\n } else {\n this.bundle(config, config.dest, config.format);\n }\n }\n\n bundle(config, dest, format) {\n rollup({\n entry: `${process.cwd()}/${config.src}`,\n // Use the previous bundle as starting point.\n cache: cache\n }).then(bundle => {\n // Cache our bundle for later use (optional)\n cache = bundle;\n bundle.write({\n format: format,\n moduleName: config.moduleName,\n sourceMap: config.sourceMap,\n plugins: [\n json(),\n babel(config.babel || {})\n ],\n dest: `${process.cwd()}/${dest}`\n }).catch(err => {\n console.error(err);\n });\n console.log(`${config.name}::build finished`);\n });\n }\n}\n", "static": true, "longname": "src/builder.js", "access": null, @@ -310,6 +310,46 @@ }, { "__docId__": 13, + "kind": "method", + "name": "bundle", + "memberof": "src/builder.js~Builder", + "generator": false, + "async": false, + "static": false, + "longname": "src/builder.js~Builder#bundle", + "access": null, + "description": null, + "lineNumber": 31, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ + { + "name": "config", + "types": [ + "*" + ] + }, + { + "name": "dest", + "types": [ + "*" + ] + }, + { + "name": "format", + "types": [ + "*" + ] + } + ] + }, + { + "__docId__": 14, "kind": "file", "name": "src/config.js", "content": "'use strict';\nconst {readFileSync} = require('fs');\n\nexport default class Config {\n constructor() {\n let config = this.importConfig();\n const name = this.importPackageName();\n return this.updateConfig(config, name);\n }\n\n /**\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n */\n require(path) {\n let root = process.cwd();\n root += `/${path}`;\n try {\n return require(root);\n } catch (error) {\n return console.warn(error);\n }\n }\n\n /**\n * @return {object} value of 'backed.json'\n */\n importConfig() {\n return this.require('backed.json');\n }\n\n /**\n * @return {string} name from 'package.json'\n */\n importPackageName() {\n return JSON.parse(readFileSync(`${process.cwd()}/package.json`)).name;\n }\n\n /**\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n */\n updateConfig(config, name) {\n config.name = config.name || name;\n config.format = config.format || 'es';\n config.sourceMap = config.sourceMap || true;\n config.server = config.server || {};\n config.server.elementLocation =\n config.server.elementLocation || `${config.name}.js`;\n global.config = config;\n return config;\n }\n}\n", @@ -320,7 +360,7 @@ "lineNumber": 1 }, { - "__docId__": 14, + "__docId__": 15, "kind": "variable", "name": "readFileSync", "memberof": "src/config.js", @@ -346,7 +386,7 @@ } }, { - "__docId__": 15, + "__docId__": 16, "kind": "class", "name": "Config", "memberof": "src/config.js", @@ -368,7 +408,7 @@ "interface": false }, { - "__docId__": 16, + "__docId__": 17, "kind": "constructor", "name": "constructor", "memberof": "src/config.js~Config", @@ -389,7 +429,7 @@ "params": [] }, { - "__docId__": 17, + "__docId__": 18, "kind": "method", "name": "require", "memberof": "src/config.js~Config", @@ -425,7 +465,7 @@ } }, { - "__docId__": 18, + "__docId__": 19, "kind": "method", "name": "importConfig", "memberof": "src/config.js~Config", @@ -447,7 +487,7 @@ } }, { - "__docId__": 19, + "__docId__": 20, "kind": "method", "name": "importPackageName", "memberof": "src/config.js~Config", @@ -469,7 +509,7 @@ } }, { - "__docId__": 20, + "__docId__": 21, "kind": "method", "name": "updateConfig", "memberof": "src/config.js~Config", @@ -509,7 +549,7 @@ } }, { - "__docId__": 21, + "__docId__": 22, "kind": "file", "name": "src/server.js", "content": "'use strict';\nconst express = require('express');\n\nconst app = express();\n\nconst glob = require('glob');\n\n/**\n * glob file path\n * @param {string} string\n */\nconst src = string => {\n return new Promise((resolve, reject) => {\n glob(string, (error, files) => {\n if (error) {\n reject(error);\n }\n if (files.length > 0) {\n resolve(files);\n }\n });\n });\n};\n\nexport default class Server {\n\n/**\n * @param {object} server - configuration\n * @param {string} name - name of the element\n * @param {string} server.entry path to where your build is located\n * @param {string} server.path src path of the component\n * @param {string} server.bowerPath path to bower_components\n * @param {string} server.nodeModulesPath path to node_modules\n * @param {string} server.elementLocation path to your element (in the browser)\n * @param {string} server.demo path to the demo\n * @param {string} server.index path to your index.html file we serve a helper/docs index by default\n */\n serve(server, name) {\n app.use('/bower_components', express.static(\n this.appLocation(server.bowerPath, 'bower_components')));\n\n app.use('/node_modules', express.static(\n this.appLocation(server.nodeModulesPath, 'node_modules')));\n\n app.use(`/${server.elementLocation}`, express.static(\n this.appLocation(server.path, 'some-element.js')));\n\n app.use('/dist', express.static(\n this.appLocation(server.entry, 'dist')));\n\n app.use('/demo', express.static(\n this.appLocation(server.demo, 'demo')));\n\n app.use('/package.json', express.static(\n this.appLocation('package.json')\n ));\n\n app.use('/bower.json', express.static(\n this.appLocation('bower.json')\n ));\n\n // TODO: Add option to override index\n app.use('/', express.static(__dirname.replace('bin', 'node_modules\\\\backed-client\\\\dist')));\n\n // serve backed\n app.use('/backed/docs', express.static(\n __dirname.replace('bin', 'docs')));\n\n // TODO: implement copyrighted by package author & package name if no file is found\n src(process.cwd() + '/license.*').then(files => {\n app.use('/license', express.static(files[0]));\n });\n\n app.listen(3000, error => {\n if (error) {\n return console.warn(error);\n }\n console.log(`${name}::serving app from ${server.entry}`);\n });\n }\n\n /**\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n */\n appLocation(path, alternate, disableAlternate = false) {\n let root = process.cwd();\n if (!path && !disableAlternate) {\n path = alternate;\n } else if (!path && disableAlternate) {\n // when we disable alternate we return the value of alternate\n return alternate;\n }\n root += `\\\\${path}`;\n return root;\n }\n}\n", @@ -520,7 +560,7 @@ "lineNumber": 1 }, { - "__docId__": 22, + "__docId__": 23, "kind": "variable", "name": "express", "memberof": "src/server.js", @@ -546,7 +586,7 @@ } }, { - "__docId__": 23, + "__docId__": 24, "kind": "variable", "name": "app", "memberof": "src/server.js", @@ -572,7 +612,7 @@ } }, { - "__docId__": 24, + "__docId__": 25, "kind": "variable", "name": "glob", "memberof": "src/server.js", @@ -598,7 +638,7 @@ } }, { - "__docId__": 25, + "__docId__": 26, "kind": "function", "name": "src", "memberof": "src/server.js", @@ -631,7 +671,7 @@ } }, { - "__docId__": 26, + "__docId__": 27, "kind": "class", "name": "Server", "memberof": "src/server.js", @@ -653,7 +693,7 @@ "interface": false }, { - "__docId__": 27, + "__docId__": 28, "kind": "method", "name": "serve", "memberof": "src/server.js~Server", @@ -758,7 +798,7 @@ ] }, { - "__docId__": 28, + "__docId__": 29, "kind": "method", "name": "appLocation", "memberof": "src/server.js~Server", @@ -808,7 +848,7 @@ } }, { - "__docId__": 30, + "__docId__": 31, "kind": "external", "name": "Infinity", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", @@ -820,7 +860,7 @@ "builtinExternal": true }, { - "__docId__": 31, + "__docId__": 32, "kind": "external", "name": "NaN", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", @@ -832,7 +872,7 @@ "builtinExternal": true }, { - "__docId__": 32, + "__docId__": 33, "kind": "external", "name": "undefined", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", @@ -844,7 +884,7 @@ "builtinExternal": true }, { - "__docId__": 33, + "__docId__": 34, "kind": "external", "name": "null", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", @@ -856,7 +896,7 @@ "builtinExternal": true }, { - "__docId__": 34, + "__docId__": 35, "kind": "external", "name": "Object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -868,7 +908,7 @@ "builtinExternal": true }, { - "__docId__": 35, + "__docId__": 36, "kind": "external", "name": "object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -880,7 +920,7 @@ "builtinExternal": true }, { - "__docId__": 36, + "__docId__": 37, "kind": "external", "name": "Function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -892,7 +932,7 @@ "builtinExternal": true }, { - "__docId__": 37, + "__docId__": 38, "kind": "external", "name": "function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -904,7 +944,7 @@ "builtinExternal": true }, { - "__docId__": 38, + "__docId__": 39, "kind": "external", "name": "Boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -916,7 +956,7 @@ "builtinExternal": true }, { - "__docId__": 39, + "__docId__": 40, "kind": "external", "name": "boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -928,7 +968,7 @@ "builtinExternal": true }, { - "__docId__": 40, + "__docId__": 41, "kind": "external", "name": "Symbol", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", @@ -940,7 +980,7 @@ "builtinExternal": true }, { - "__docId__": 41, + "__docId__": 42, "kind": "external", "name": "Error", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", @@ -952,7 +992,7 @@ "builtinExternal": true }, { - "__docId__": 42, + "__docId__": 43, "kind": "external", "name": "EvalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", @@ -964,7 +1004,7 @@ "builtinExternal": true }, { - "__docId__": 43, + "__docId__": 44, "kind": "external", "name": "InternalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", @@ -976,7 +1016,7 @@ "builtinExternal": true }, { - "__docId__": 44, + "__docId__": 45, "kind": "external", "name": "RangeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", @@ -988,7 +1028,7 @@ "builtinExternal": true }, { - "__docId__": 45, + "__docId__": 46, "kind": "external", "name": "ReferenceError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", @@ -1000,7 +1040,7 @@ "builtinExternal": true }, { - "__docId__": 46, + "__docId__": 47, "kind": "external", "name": "SyntaxError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", @@ -1012,7 +1052,7 @@ "builtinExternal": true }, { - "__docId__": 47, + "__docId__": 48, "kind": "external", "name": "TypeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", @@ -1024,7 +1064,7 @@ "builtinExternal": true }, { - "__docId__": 48, + "__docId__": 49, "kind": "external", "name": "URIError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", @@ -1036,7 +1076,7 @@ "builtinExternal": true }, { - "__docId__": 49, + "__docId__": 50, "kind": "external", "name": "Number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -1048,7 +1088,7 @@ "builtinExternal": true }, { - "__docId__": 50, + "__docId__": 51, "kind": "external", "name": "number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -1060,7 +1100,7 @@ "builtinExternal": true }, { - "__docId__": 51, + "__docId__": 52, "kind": "external", "name": "Date", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", @@ -1072,7 +1112,7 @@ "builtinExternal": true }, { - "__docId__": 52, + "__docId__": 53, "kind": "external", "name": "String", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -1084,7 +1124,7 @@ "builtinExternal": true }, { - "__docId__": 53, + "__docId__": 54, "kind": "external", "name": "string", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -1096,7 +1136,7 @@ "builtinExternal": true }, { - "__docId__": 54, + "__docId__": 55, "kind": "external", "name": "RegExp", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", @@ -1108,7 +1148,7 @@ "builtinExternal": true }, { - "__docId__": 55, + "__docId__": 56, "kind": "external", "name": "Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", @@ -1120,7 +1160,7 @@ "builtinExternal": true }, { - "__docId__": 56, + "__docId__": 57, "kind": "external", "name": "Int8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", @@ -1132,7 +1172,7 @@ "builtinExternal": true }, { - "__docId__": 57, + "__docId__": 58, "kind": "external", "name": "Uint8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", @@ -1144,7 +1184,7 @@ "builtinExternal": true }, { - "__docId__": 58, + "__docId__": 59, "kind": "external", "name": "Uint8ClampedArray", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", @@ -1156,7 +1196,7 @@ "builtinExternal": true }, { - "__docId__": 59, + "__docId__": 60, "kind": "external", "name": "Int16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", @@ -1168,7 +1208,7 @@ "builtinExternal": true }, { - "__docId__": 60, + "__docId__": 61, "kind": "external", "name": "Uint16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", @@ -1180,7 +1220,7 @@ "builtinExternal": true }, { - "__docId__": 61, + "__docId__": 62, "kind": "external", "name": "Int32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", @@ -1192,7 +1232,7 @@ "builtinExternal": true }, { - "__docId__": 62, + "__docId__": 63, "kind": "external", "name": "Uint32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", @@ -1204,7 +1244,7 @@ "builtinExternal": true }, { - "__docId__": 63, + "__docId__": 64, "kind": "external", "name": "Float32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", @@ -1216,7 +1256,7 @@ "builtinExternal": true }, { - "__docId__": 64, + "__docId__": 65, "kind": "external", "name": "Float64Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", @@ -1228,7 +1268,7 @@ "builtinExternal": true }, { - "__docId__": 65, + "__docId__": 66, "kind": "external", "name": "Map", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", @@ -1240,7 +1280,7 @@ "builtinExternal": true }, { - "__docId__": 66, + "__docId__": 67, "kind": "external", "name": "Set", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", @@ -1252,7 +1292,7 @@ "builtinExternal": true }, { - "__docId__": 67, + "__docId__": 68, "kind": "external", "name": "WeakMap", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", @@ -1264,7 +1304,7 @@ "builtinExternal": true }, { - "__docId__": 68, + "__docId__": 69, "kind": "external", "name": "WeakSet", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", @@ -1276,7 +1316,7 @@ "builtinExternal": true }, { - "__docId__": 69, + "__docId__": 70, "kind": "external", "name": "ArrayBuffer", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", @@ -1288,7 +1328,7 @@ "builtinExternal": true }, { - "__docId__": 70, + "__docId__": 71, "kind": "external", "name": "DataView", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", @@ -1300,7 +1340,7 @@ "builtinExternal": true }, { - "__docId__": 71, + "__docId__": 72, "kind": "external", "name": "JSON", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", @@ -1312,7 +1352,7 @@ "builtinExternal": true }, { - "__docId__": 72, + "__docId__": 73, "kind": "external", "name": "Promise", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", @@ -1324,7 +1364,7 @@ "builtinExternal": true }, { - "__docId__": 73, + "__docId__": 74, "kind": "external", "name": "Generator", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", @@ -1336,7 +1376,7 @@ "builtinExternal": true }, { - "__docId__": 74, + "__docId__": 75, "kind": "external", "name": "GeneratorFunction", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", @@ -1348,7 +1388,7 @@ "builtinExternal": true }, { - "__docId__": 75, + "__docId__": 76, "kind": "external", "name": "Reflect", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", @@ -1360,7 +1400,7 @@ "builtinExternal": true }, { - "__docId__": 76, + "__docId__": 77, "kind": "external", "name": "Proxy", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", @@ -1373,7 +1413,7 @@ "builtinExternal": true }, { - "__docId__": 78, + "__docId__": 79, "kind": "external", "name": "CanvasRenderingContext2D", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", @@ -1385,7 +1425,7 @@ "builtinExternal": true }, { - "__docId__": 79, + "__docId__": 80, "kind": "external", "name": "DocumentFragment", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", @@ -1397,7 +1437,7 @@ "builtinExternal": true }, { - "__docId__": 80, + "__docId__": 81, "kind": "external", "name": "Element", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", @@ -1409,7 +1449,7 @@ "builtinExternal": true }, { - "__docId__": 81, + "__docId__": 82, "kind": "external", "name": "Event", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", @@ -1421,7 +1461,7 @@ "builtinExternal": true }, { - "__docId__": 82, + "__docId__": 83, "kind": "external", "name": "Node", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", @@ -1433,7 +1473,7 @@ "builtinExternal": true }, { - "__docId__": 83, + "__docId__": 84, "kind": "external", "name": "NodeList", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", @@ -1445,7 +1485,7 @@ "builtinExternal": true }, { - "__docId__": 84, + "__docId__": 85, "kind": "external", "name": "XMLHttpRequest", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", @@ -1457,7 +1497,7 @@ "builtinExternal": true }, { - "__docId__": 85, + "__docId__": 86, "kind": "external", "name": "AudioContext", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", diff --git a/docs/file/src/builder.js.html b/docs/file/src/builder.js.html index 2475bae..2d3751f 100644 --- a/docs/file/src/builder.js.html +++ b/docs/file/src/builder.js.html @@ -48,6 +48,29 @@ export default class Builder { build(config) { + if (config.format && typeof config.format === 'object') { + const formats = config.format; + for (let format of formats) { + let dest = config.dest; + if (format !== 'iffe') { + switch (format) { + case 'cjs': + dest = dest.replace('.js', '-node.js'); + break; + case 'es': + case 'amd': + dest = dest.replace('.js', `-${format}.js`); + break; + } + } + this.bundle(config, dest, format); + } + } else { + this.bundle(config, config.dest, config.format); + } + } + + bundle(config, dest, format) { rollup({ entry: `${process.cwd()}/${config.src}`, // Use the previous bundle as starting point. @@ -56,14 +79,14 @@ // Cache our bundle for later use (optional) cache = bundle; bundle.write({ - format: config.format, + format: format, moduleName: config.moduleName, sourceMap: config.sourceMap, plugins: [ json(), babel(config.babel || {}) ], - dest: `${process.cwd()}/${config.dest}` + dest: `${process.cwd()}/${dest}` }).catch(err => { console.error(err); }); diff --git a/docs/package.json b/docs/package.json index d0b21e0..3173a09 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "backed-cli", - "version": "0.0.0-alpha.9", + "version": "0.1.0", "description": "The official command line interface for Backed", "homepage": "https://github.com/vandeurenglenn/backed-cli", "author": { diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 29a6601..564d3fe 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -365,6 +365,12 @@ window.esdocSearchIndex = [ "src/builder.js~Builder#build", "method" ], + [ + "src/builder.js~builder#bundle", + "class/src/builder.js~Builder.html#instance-method-bundle", + "src/builder.js~Builder#bundle", + "method" + ], [ "src/config.js", "file/src/config.js.html", diff --git a/docs/source.html b/docs/source.html index 9283e9e..e19623f 100644 --- a/docs/source.html +++ b/docs/source.html @@ -39,7 +39,7 @@ -

Source 6/11

+

Source 6/12

@@ -63,12 +63,12 @@ - + - - - - + + + +
2017-02-06 01:01:22 (UTC)
src/builder.jssrc/builder.js Builder0 %0/2814 byte312017-02-06 01:00:12 (UTC)0 %0/31439 byte542017-02-07 15:16:47 (UTC)
src/config.js