{"version":3,"sources":["../src/build/options.ts"],"names":[],"mappings":";AAyBA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAC,YAAY,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAC,GAAG,EAAC,MAAM,aAAa,CAAC;AAChC,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAMlD,MAAM,WAAW,YAAY;IAC5B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAErB,MAAM,CAAC,EAAE,YAAY,CAAC;IAQtB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,GAAG,CAAC,EAAE,GAAG,GAAG,gBAAgB,CAAC;IAE7B,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,CAAC,EAAE,aAAa,CAAC;CACvB","file":"options.d.ts","sourcesContent":["/**\n *\tMIT License\n *\n *\tCopyright (c) 2019 - 2022 Toreda, Inc.\n *\n *\tPermission is hereby granted, free of charge, to any person obtaining a copy\n *\tof this software and associated documentation files (the \"Software\"), to deal\n *\tin the Software without restriction, including without limitation the rights\n *\tto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n *\tcopies of the Software, and to permit persons to whom the Software is\n *\tfurnished to do so, subject to the following conditions:\n\n * \tThe above copyright notice and this permission notice shall be included in all\n * \tcopies or substantial portions of the Software.\n *\n * \tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n *\tIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n *\tFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * \tAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n *\tLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n *\tOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * \tSOFTWARE.\n *\n */\n\nimport type {BuildWebpackOptions} from './webpack/options';\nimport {EventEmitter} from 'events';\nimport type {LinterOptions} from '../linter/options';\nimport {Log} from '@toreda/log';\nimport type {LogOptionsGlobal} from '@toreda/log';\n\n/**\n * Options used by Build on instantiation to seed initial objects\n * and settings.\n */\nexport interface BuildOptions {\n\t[k: string]: unknown;\n\t/** Global event emitter instance. Created in Build when not provided. */\n\tevents?: EventEmitter;\n\t/** Development environment type.\n\t * \tdev\t-\tDevelopment env. Extra debugging, logging, and options enabled\n\t *\t\t\tby default. Additional debug symbols and data packed into bundles.\n\t *\tprod -\tProduction env. Optimized for error checking, completeness, and final\n\t *\t\t\tbundle or package size. Slower builds due to minification & cleanup.\n\t *\tqa\n\t */\n\tenv?: string;\n\t/** Global logging instance for debugging. Log output to console disabled by default */\n\tlog?: Log | LogOptionsGlobal;\n\t/** Options for webpack build. Deefaults */\n\twebpack?: BuildWebpackOptions;\n\tautoMockInJest?: boolean;\n\tprofiler?: boolean;\n\tmockAll?: boolean;\n\tmockFileReads?: boolean;\n\tmockFileWrites?: boolean;\n\tdebugMode?: boolean;\n\tlinter?: LinterOptions;\n}\n"]}