\n \n\n \n \n\n\n\t\n\t\n\n\tSvelte app\n\n\t\n\t\n\t\n\n\t\n\n\n\n \n\n\n\t\n\t\n\n\tSvelte app\n\n\t\n\t\n\t\n\n\t\n\n\n\n \n\n\n\t\n\t\n\n\tSvelte app\n\n\t\n\t\n\t\n\n\t\n\n\n\n \n\n \n \n \n \n \n \n \n \n Marvel",
"tokens": 0,
"firstFile": {
"name": "packages/games/mc/src/index.html",
"start": 7,
"end": 12,
"startLoc": {
"line": 7,
"column": 17,
"position": 79
},
"endLoc": {
"line": 12,
"column": 7,
"position": 171
}
},
"secondFile": {
"name": "packages/games/roguelike/src/index.html",
"start": 7,
"end": 12,
"startLoc": {
"line": 7,
"column": 16,
"position": 79
},
"endLoc": {
"line": 12,
"column": 10,
"position": 171
}
}
},
{
"format": "markup",
"lines": 25,
"fragment": "\n\n \n \n \n\n Svelte app\n\n \n \n \n\n \n \n\n \n \n \n",
"tokens": 0,
"firstFile": {
"name": "libs/ui/tabs/public/index.html",
"start": 1,
"end": 25,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 25,
"column": 2,
"position": 215
}
},
"secondFile": {
"name": "packages/ui/tabs/public/index.html",
"start": 1,
"end": 25,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 25,
"column": 2,
"position": 215
}
}
},
{
"format": "css",
"lines": 17,
"fragment": "{\n position: relative;\n width: 100%;\n height: 100%;\n}\n\nbody {\n color: #333;\n margin: 0;\n padding: 8px;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\",\n sans-serif;\n}\n\na {\n color: rgb(0,",
"tokens": 0,
"firstFile": {
"name": "libs/ui/tabs/public/global.css",
"start": 2,
"end": 18,
"startLoc": {
"line": 2,
"column": 2,
"position": 2
},
"endLoc": {
"line": 18,
"column": 3,
"position": 99
}
},
"secondFile": {
"name": "packages/ui/tabs/public/global.css",
"start": 1,
"end": 16,
"startLoc": {
"line": 1,
"column": 2,
"position": 2
},
"endLoc": {
"line": 16,
"column": 10,
"position": 98
}
}
},
{
"format": "css",
"lines": 32,
"fragment": "{\n font-family: inherit;\n font-size: inherit;\n -webkit-padding: 0.4em 0;\n padding: 0.4em;\n margin: 0 0 0.5em 0;\n box-sizing: border-box;\n border: 1px solid #ccc;\n border-radius: 2px;\n}\n\ninput:disabled {\n color: #ccc;\n}\n\nbutton {\n color: #333;\n background-color: #f4f4f4;\n outline: none;\n}\n\nbutton:disabled {\n color: #999;\n}\n\nbutton:not(:disabled):active {\n background-color: #ddd;\n}\n\nbutton:focus {\n border-color: #666;\n}",
"tokens": 0,
"firstFile": {
"name": "libs/ui/tabs/public/global.css",
"start": 37,
"end": 68,
"startLoc": {
"line": 37,
"column": 2,
"position": 168
},
"endLoc": {
"line": 68,
"column": 2,
"position": 322
}
},
"secondFile": {
"name": "packages/ui/tabs/public/global.css",
"start": 32,
"end": 63,
"startLoc": {
"line": 32,
"column": 2,
"position": 159
},
"endLoc": {
"line": 63,
"column": 2,
"position": 313
}
}
},
{
"format": "markup",
"lines": 17,
"fragment": "\n\n \n \n \n\n Svelte app\n\n \n \n \n\n \n \n\n \n \n\n \n \n \n\n Svelte app\n\n \n \n \n\n \n \n\n \n \n
\n \n
\n \n
\n \n",
"tokens": 0,
"firstFile": {
"name": "libs/ui/progress/public/index.html",
"start": 1,
"end": 24,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 24,
"column": 2,
"position": 233
}
},
"secondFile": {
"name": "packages/ui/tabs/public/index.html",
"start": 1,
"end": 24,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 24,
"column": 2,
"position": 233
}
}
},
{
"format": "css",
"lines": 68,
"fragment": "html,\nbody {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\nbody {\n color: #333;\n margin: 0;\n padding: 8px;\n box-sizing: border-box;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\",\n sans-serif;\n}\n\na {\n color: rgb(0, 100, 200);\n text-decoration: none;\n}\n\na:hover {\n text-decoration: underline;\n}\n\na:visited {\n color: rgb(0, 80, 160);\n}\n\nlabel {\n display: block;\n}\n\ninput,\nbutton,\nselect,\ntextarea {\n font-family: inherit;\n font-size: inherit;\n -webkit-padding: 0.4em 0;\n padding: 0.4em;\n margin: 0 0 0.5em 0;\n box-sizing: border-box;\n border: 1px solid #ccc;\n border-radius: 2px;\n}\n\ninput:disabled {\n color: #ccc;\n}\n\nbutton {\n color: #333;\n background-color: #f4f4f4;\n outline: none;\n}\n\nbutton:disabled {\n color: #999;\n}\n\nbutton:not(:disabled):active {\n background-color: #ddd;\n}\n\nbutton:focus {\n border-color: #666;\n}",
"tokens": 0,
"firstFile": {
"name": "libs/ui/progress/public/global.css",
"start": 1,
"end": 68,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 68,
"column": 2,
"position": 322
}
},
"secondFile": {
"name": "libs/ui/tabs/public/global.css",
"start": 1,
"end": 63,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 63,
"column": 2,
"position": 313
}
}
},
{
"format": "markup",
"lines": 17,
"fragment": "\n\n \n \n \n\n Svelte app\n\n \n \n \n\n \n \n\n \n \n\n \n \n \n\n Svelte app\n\n \n \n \n\n \n \n\n \n \n\n \n \n \n\n Svelte app\n\n \n \n \n\n \n \n\n \n {\n if (this.entities.has(entity.getId())) {\n this.scheduler",
"tokens": 0,
"firstFile": {
"name": "libs/games/src/engine/world.ts",
"start": 43,
"end": 48,
"startLoc": {
"line": 43,
"column": 9,
"position": 435
},
"endLoc": {
"line": 48,
"column": 10,
"position": 503
}
},
"secondFile": {
"name": "libs/patterns/src/ecs/world.ts",
"start": 41,
"end": 46,
"startLoc": {
"line": 41,
"column": 9,
"position": 352
},
"endLoc": {
"line": 46,
"column": 9,
"position": 420
}
}
},
{
"format": "javascript",
"lines": 88,
"fragment": "import svelte from \"rollup-plugin-svelte\";\nimport commonjs from \"@rollup/plugin-commonjs\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport livereload from \"rollup-plugin-livereload\";\nimport { terser } from \"rollup-plugin-terser\";\nimport sveltePreprocess from \"svelte-preprocess\";\nimport typescript from \"@rollup/plugin-typescript\";\nimport css from \"rollup-plugin-css-only\";\n\nconst production = !process.env.ROLLUP_WATCH;\n\nfunction serve() {\n let server;\n\n function toExit() {\n if (server) {\n server.kill(0);\n }\n }\n\n return {\n writeBundle() {\n if (server) {\n return;\n }\n server = require(\"child_process\").spawn(\"npm\", [\"run\", \"start\", \"--\", \"--dev\"], {\n stdio: [\"ignore\", \"inherit\", \"inherit\"],\n shell: true,\n });\n\n process.on(\"SIGTERM\", toExit);\n process.on(\"exit\", toExit);\n },\n };\n}\n\nexport default {\n input: \"src/main.ts\",\n output: {\n sourcemap: true,\n format: \"iife\",\n name: \"app\",\n file: \"public/build/bundle.js\",\n },\n plugins: [\n svelte({\n preprocess: sveltePreprocess({ sourceMap: !production }),\n compilerOptions: {\n // enable run-time checks when not in production\n dev: !production,\n customElement: true,\n },\n }),\n // we'll extract any component CSS out into\n // a separate file - better for performance\n css({ output: \"bundle.css\" }),\n\n // If you have external dependencies installed from\n // npm, you'll most likely need these plugins. In\n // some cases you'll need additional configuration -\n // consult the documentation for details:\n // https://github.com/rollup/plugins/tree/master/packages/commonjs\n resolve({\n browser: true,\n dedupe: [\"svelte\"],\n }),\n commonjs(),\n typescript({\n sourceMap: !production,\n inlineSources: !production,\n }),\n\n // In dev mode, call `npm run start` once\n // the bundle has been generated\n !production && serve(),\n\n // Watch the `public` directory and refresh the\n // browser on changes when not in production\n !production && livereload(\"public\"),\n\n // If we're building for production (npm run build\n // instead of npm run dev), minify\n production && terser(),\n ],\n watch: {\n clearScreen: false,\n },\n};",
"tokens": 0,
"firstFile": {
"name": "libs/ui/table/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
},
"secondFile": {
"name": "libs/ui/tabs/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
}
},
{
"format": "json",
"lines": 25,
"fragment": "},\n \"scripts\": {\n \"build\": \"rollup -c\",\n \"dev\": \"rollup -c -w\",\n \"start\": \"sirv public --no-clear\",\n \"check\": \"svelte-check --tsconfig ./tsconfig.json\"\n },\n \"devDependencies\": {\n \"@rollup/plugin-commonjs\": \"21.0.2\",\n \"@rollup/plugin-node-resolve\": \"13.1.3\",\n \"@rollup/plugin-typescript\": \"8.3.1\",\n \"@tsconfig/svelte\": \"3.0.0\",\n \"rollup-plugin-css-only\": \"3.1.0\",\n \"rollup-plugin-livereload\": \"2.0.5\",\n \"rollup-plugin-svelte\": \"7.1.0\",\n \"rollup-plugin-terser\": \"7.0.2\",\n \"svelte\": \"3.46.4\",\n \"svelte-check\": \"2.4.6\",\n \"svelte-preprocess\": \"4.10.4\",\n \"tslib\": \"2.3.1\"\n },\n \"dependencies\": {\n \"sirv-cli\": \"2.0.2\"\n }\n}",
"tokens": 0,
"firstFile": {
"name": "libs/ui/table/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
},
"secondFile": {
"name": "libs/ui/tabs/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
}
},
{
"format": "javascript",
"lines": 88,
"fragment": "import svelte from \"rollup-plugin-svelte\";\nimport commonjs from \"@rollup/plugin-commonjs\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport livereload from \"rollup-plugin-livereload\";\nimport { terser } from \"rollup-plugin-terser\";\nimport sveltePreprocess from \"svelte-preprocess\";\nimport typescript from \"@rollup/plugin-typescript\";\nimport css from \"rollup-plugin-css-only\";\n\nconst production = !process.env.ROLLUP_WATCH;\n\nfunction serve() {\n let server;\n\n function toExit() {\n if (server) {\n server.kill(0);\n }\n }\n\n return {\n writeBundle() {\n if (server) {\n return;\n }\n server = require(\"child_process\").spawn(\"npm\", [\"run\", \"start\", \"--\", \"--dev\"], {\n stdio: [\"ignore\", \"inherit\", \"inherit\"],\n shell: true,\n });\n\n process.on(\"SIGTERM\", toExit);\n process.on(\"exit\", toExit);\n },\n };\n}\n\nexport default {\n input: \"src/main.ts\",\n output: {\n sourcemap: true,\n format: \"iife\",\n name: \"app\",\n file: \"public/build/bundle.js\",\n },\n plugins: [\n svelte({\n preprocess: sveltePreprocess({ sourceMap: !production }),\n compilerOptions: {\n // enable run-time checks when not in production\n dev: !production,\n customElement: true,\n },\n }),\n // we'll extract any component CSS out into\n // a separate file - better for performance\n css({ output: \"bundle.css\" }),\n\n // If you have external dependencies installed from\n // npm, you'll most likely need these plugins. In\n // some cases you'll need additional configuration -\n // consult the documentation for details:\n // https://github.com/rollup/plugins/tree/master/packages/commonjs\n resolve({\n browser: true,\n dedupe: [\"svelte\"],\n }),\n commonjs(),\n typescript({\n sourceMap: !production,\n inlineSources: !production,\n }),\n\n // In dev mode, call `npm run start` once\n // the bundle has been generated\n !production && serve(),\n\n // Watch the `public` directory and refresh the\n // browser on changes when not in production\n !production && livereload(\"public\"),\n\n // If we're building for production (npm run build\n // instead of npm run dev), minify\n production && terser(),\n ],\n watch: {\n clearScreen: false,\n },\n};",
"tokens": 0,
"firstFile": {
"name": "libs/ui/progress/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
},
"secondFile": {
"name": "libs/ui/tabs/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
}
},
{
"format": "javascript",
"lines": 88,
"fragment": "import svelte from \"rollup-plugin-svelte\";\nimport commonjs from \"@rollup/plugin-commonjs\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport livereload from \"rollup-plugin-livereload\";\nimport { terser } from \"rollup-plugin-terser\";\nimport sveltePreprocess from \"svelte-preprocess\";\nimport typescript from \"@rollup/plugin-typescript\";\nimport css from \"rollup-plugin-css-only\";\n\nconst production = !process.env.ROLLUP_WATCH;\n\nfunction serve() {\n let server;\n\n function toExit() {\n if (server) {\n server.kill(0);\n }\n }\n\n return {\n writeBundle() {\n if (server) {\n return;\n }\n server = require(\"child_process\").spawn(\"npm\", [\"run\", \"start\", \"--\", \"--dev\"], {\n stdio: [\"ignore\", \"inherit\", \"inherit\"],\n shell: true,\n });\n\n process.on(\"SIGTERM\", toExit);\n process.on(\"exit\", toExit);\n },\n };\n}\n\nexport default {\n input: \"src/main.ts\",\n output: {\n sourcemap: true,\n format: \"iife\",\n name: \"app\",\n file: \"public/build/bundle.js\",\n },\n plugins: [\n svelte({\n preprocess: sveltePreprocess({ sourceMap: !production }),\n compilerOptions: {\n // enable run-time checks when not in production\n dev: !production,\n customElement: true,\n },\n }),\n // we'll extract any component CSS out into\n // a separate file - better for performance\n css({ output: \"bundle.css\" }),\n\n // If you have external dependencies installed from\n // npm, you'll most likely need these plugins. In\n // some cases you'll need additional configuration -\n // consult the documentation for details:\n // https://github.com/rollup/plugins/tree/master/packages/commonjs\n resolve({\n browser: true,\n dedupe: [\"svelte\"],\n }),\n commonjs(),\n typescript({\n sourceMap: !production,\n inlineSources: !production,\n }),\n\n // In dev mode, call `npm run start` once\n // the bundle has been generated\n !production && serve(),\n\n // Watch the `public` directory and refresh the\n // browser on changes when not in production\n !production && livereload(\"public\"),\n\n // If we're building for production (npm run build\n // instead of npm run dev), minify\n production && terser(),\n ],\n watch: {\n clearScreen: false,\n },\n};",
"tokens": 0,
"firstFile": {
"name": "libs/ui/placeholder-loader/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
},
"secondFile": {
"name": "libs/ui/tabs/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
}
},
{
"format": "json",
"lines": 25,
"fragment": "},\n \"scripts\": {\n \"build\": \"rollup -c\",\n \"dev\": \"rollup -c -w\",\n \"start\": \"sirv public --no-clear\",\n \"check\": \"svelte-check --tsconfig ./tsconfig.json\"\n },\n \"devDependencies\": {\n \"@rollup/plugin-commonjs\": \"21.0.2\",\n \"@rollup/plugin-node-resolve\": \"13.1.3\",\n \"@rollup/plugin-typescript\": \"8.3.1\",\n \"@tsconfig/svelte\": \"3.0.0\",\n \"rollup-plugin-css-only\": \"3.1.0\",\n \"rollup-plugin-livereload\": \"2.0.5\",\n \"rollup-plugin-svelte\": \"7.1.0\",\n \"rollup-plugin-terser\": \"7.0.2\",\n \"svelte\": \"3.46.4\",\n \"svelte-check\": \"2.4.6\",\n \"svelte-preprocess\": \"4.10.4\",\n \"tslib\": \"2.3.1\"\n },\n \"dependencies\": {\n \"sirv-cli\": \"2.0.2\"\n }\n}",
"tokens": 0,
"firstFile": {
"name": "libs/ui/placeholder-loader/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
},
"secondFile": {
"name": "libs/ui/tabs/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
}
},
{
"format": "javascript",
"lines": 88,
"fragment": "import svelte from \"rollup-plugin-svelte\";\nimport commonjs from \"@rollup/plugin-commonjs\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport livereload from \"rollup-plugin-livereload\";\nimport { terser } from \"rollup-plugin-terser\";\nimport sveltePreprocess from \"svelte-preprocess\";\nimport typescript from \"@rollup/plugin-typescript\";\nimport css from \"rollup-plugin-css-only\";\n\nconst production = !process.env.ROLLUP_WATCH;\n\nfunction serve() {\n let server;\n\n function toExit() {\n if (server) {\n server.kill(0);\n }\n }\n\n return {\n writeBundle() {\n if (server) {\n return;\n }\n server = require(\"child_process\").spawn(\"npm\", [\"run\", \"start\", \"--\", \"--dev\"], {\n stdio: [\"ignore\", \"inherit\", \"inherit\"],\n shell: true,\n });\n\n process.on(\"SIGTERM\", toExit);\n process.on(\"exit\", toExit);\n },\n };\n}\n\nexport default {\n input: \"src/main.ts\",\n output: {\n sourcemap: true,\n format: \"iife\",\n name: \"app\",\n file: \"public/build/bundle.js\",\n },\n plugins: [\n svelte({\n preprocess: sveltePreprocess({ sourceMap: !production }),\n compilerOptions: {\n // enable run-time checks when not in production\n dev: !production,\n customElement: true,\n },\n }),\n // we'll extract any component CSS out into\n // a separate file - better for performance\n css({ output: \"bundle.css\" }),\n\n // If you have external dependencies installed from\n // npm, you'll most likely need these plugins. In\n // some cases you'll need additional configuration -\n // consult the documentation for details:\n // https://github.com/rollup/plugins/tree/master/packages/commonjs\n resolve({\n browser: true,\n dedupe: [\"svelte\"],\n }),\n commonjs(),\n typescript({\n sourceMap: !production,\n inlineSources: !production,\n }),\n\n // In dev mode, call `npm run start` once\n // the bundle has been generated\n !production && serve(),\n\n // Watch the `public` directory and refresh the\n // browser on changes when not in production\n !production && livereload(\"public\"),\n\n // If we're building for production (npm run build\n // instead of npm run dev), minify\n production && terser(),\n ],\n watch: {\n clearScreen: false,\n },\n};",
"tokens": 0,
"firstFile": {
"name": "libs/ui/leaderboard/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
},
"secondFile": {
"name": "libs/ui/tabs/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
}
},
{
"format": "json",
"lines": 25,
"fragment": "},\n \"scripts\": {\n \"build\": \"rollup -c\",\n \"dev\": \"rollup -c -w\",\n \"start\": \"sirv public --no-clear\",\n \"check\": \"svelte-check --tsconfig ./tsconfig.json\"\n },\n \"devDependencies\": {\n \"@rollup/plugin-commonjs\": \"21.0.2\",\n \"@rollup/plugin-node-resolve\": \"13.1.3\",\n \"@rollup/plugin-typescript\": \"8.3.1\",\n \"@tsconfig/svelte\": \"3.0.0\",\n \"rollup-plugin-css-only\": \"3.1.0\",\n \"rollup-plugin-livereload\": \"2.0.5\",\n \"rollup-plugin-svelte\": \"7.1.0\",\n \"rollup-plugin-terser\": \"7.0.2\",\n \"svelte\": \"3.46.4\",\n \"svelte-check\": \"2.4.6\",\n \"svelte-preprocess\": \"4.10.4\",\n \"tslib\": \"2.3.1\"\n },\n \"dependencies\": {\n \"sirv-cli\": \"2.0.2\"\n }\n}",
"tokens": 0,
"firstFile": {
"name": "libs/ui/leaderboard/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
},
"secondFile": {
"name": "libs/ui/tabs/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
}
},
{
"format": "javascript",
"lines": 88,
"fragment": "import svelte from \"rollup-plugin-svelte\";\nimport commonjs from \"@rollup/plugin-commonjs\";\nimport resolve from \"@rollup/plugin-node-resolve\";\nimport livereload from \"rollup-plugin-livereload\";\nimport { terser } from \"rollup-plugin-terser\";\nimport sveltePreprocess from \"svelte-preprocess\";\nimport typescript from \"@rollup/plugin-typescript\";\nimport css from \"rollup-plugin-css-only\";\n\nconst production = !process.env.ROLLUP_WATCH;\n\nfunction serve() {\n let server;\n\n function toExit() {\n if (server) {\n server.kill(0);\n }\n }\n\n return {\n writeBundle() {\n if (server) {\n return;\n }\n server = require(\"child_process\").spawn(\"npm\", [\"run\", \"start\", \"--\", \"--dev\"], {\n stdio: [\"ignore\", \"inherit\", \"inherit\"],\n shell: true,\n });\n\n process.on(\"SIGTERM\", toExit);\n process.on(\"exit\", toExit);\n },\n };\n}\n\nexport default {\n input: \"src/main.ts\",\n output: {\n sourcemap: true,\n format: \"iife\",\n name: \"app\",\n file: \"public/build/bundle.js\",\n },\n plugins: [\n svelte({\n preprocess: sveltePreprocess({ sourceMap: !production }),\n compilerOptions: {\n // enable run-time checks when not in production\n dev: !production,\n customElement: true,\n },\n }),\n // we'll extract any component CSS out into\n // a separate file - better for performance\n css({ output: \"bundle.css\" }),\n\n // If you have external dependencies installed from\n // npm, you'll most likely need these plugins. In\n // some cases you'll need additional configuration -\n // consult the documentation for details:\n // https://github.com/rollup/plugins/tree/master/packages/commonjs\n resolve({\n browser: true,\n dedupe: [\"svelte\"],\n }),\n commonjs(),\n typescript({\n sourceMap: !production,\n inlineSources: !production,\n }),\n\n // In dev mode, call `npm run start` once\n // the bundle has been generated\n !production && serve(),\n\n // Watch the `public` directory and refresh the\n // browser on changes when not in production\n !production && livereload(\"public\"),\n\n // If we're building for production (npm run build\n // instead of npm run dev), minify\n production && terser(),\n ],\n watch: {\n clearScreen: false,\n },\n};",
"tokens": 0,
"firstFile": {
"name": "libs/ui/collapse/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
},
"secondFile": {
"name": "libs/ui/tabs/rollup.config.js",
"start": 1,
"end": 88,
"startLoc": {
"line": 1,
"column": 1,
"position": 0
},
"endLoc": {
"line": 88,
"column": 2,
"position": 546
}
}
},
{
"format": "json",
"lines": 25,
"fragment": "},\n \"scripts\": {\n \"build\": \"rollup -c\",\n \"dev\": \"rollup -c -w\",\n \"start\": \"sirv public --no-clear\",\n \"check\": \"svelte-check --tsconfig ./tsconfig.json\"\n },\n \"devDependencies\": {\n \"@rollup/plugin-commonjs\": \"21.0.2\",\n \"@rollup/plugin-node-resolve\": \"13.1.3\",\n \"@rollup/plugin-typescript\": \"8.3.1\",\n \"@tsconfig/svelte\": \"3.0.0\",\n \"rollup-plugin-css-only\": \"3.1.0\",\n \"rollup-plugin-livereload\": \"2.0.5\",\n \"rollup-plugin-svelte\": \"7.1.0\",\n \"rollup-plugin-terser\": \"7.0.2\",\n \"svelte\": \"3.46.4\",\n \"svelte-check\": \"2.4.6\",\n \"svelte-preprocess\": \"4.10.4\",\n \"tslib\": \"2.3.1\"\n },\n \"dependencies\": {\n \"sirv-cli\": \"2.0.2\"\n }\n}",
"tokens": 0,
"firstFile": {
"name": "libs/ui/collapse/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
},
"secondFile": {
"name": "libs/ui/tabs/package.json",
"start": 11,
"end": 35,
"startLoc": {
"line": 11,
"column": 5,
"position": 64
},
"endLoc": {
"line": 35,
"column": 2,
"position": 212
}
}
}
]
};
// -->