{"version":3,"sources":["jsdelivr-header.js","/npm/@nuxt/typescript-runtime@3.0.2/dist/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,QAAQ,WAAQ,EAChB,MAAM,OAAS,QAAQ,QACjB,UAAY,QAAQ,WACpB,MAAQ,CACV,cAAa,KAAE,EAAI,QAAE,IACjB,MAAM,EAAa,EAAK,MAAK,CAAC,EAAM,IAAU,EAAQ,GAAyB,eAApB,EAAK,EAAQ,KAClE,GAAe,EAAI,OAAO,SAAS,GAAc,EAAS,GAAc,EAAW,SAAS,SAAW,GAAK,kBAClH,EAAI,UAAU,UAAU,CACpB,QAAS,EACT,gBAAiB,CACb,OAAQ,YAEZ,eAAe,GAEvB,EACA,MAAA,CAAO,GACH,EAAO,WAAa,IAAK,EAAO,YAAc,GAAK,KACvD,GAEJ,QAAQ,MAAQ","file":"/npm/@nuxt/typescript-runtime@3.0.2/dist/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@nuxt/typescript-runtime@3.0.2/dist/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.hooks = void 0;\nconst path_1 = require(\"path\");\nconst ts_node_1 = require(\"ts-node\");\nconst hooks = {\n    'run:before'({ argv, rootDir }) {\n        const customPath = argv.find((_arg, index) => index > 0 && argv[index - 1] === '--tsconfig');\n        const tsConfigPath = (0, path_1.resolve)(customPath || rootDir, customPath && customPath.endsWith('.json') ? '' : 'tsconfig.json');\n        (0, ts_node_1.register)({\n            project: tsConfigPath,\n            compilerOptions: {\n                module: 'commonjs'\n            },\n            transpileOnly: true\n        });\n    },\n    config(config) {\n        config.extensions = [...(config.extensions || []), 'ts'];\n    }\n};\nexports.hooks = hooks;\n"]}