\ No newline at end of file
diff --git a/index.html b/index.html
index 69876e0..577f6ac 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-FredTsang
// if SourceBuffer is exposed ensure its API is valid // safari and old version of Chrome doe not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible const sourceBufferValidAPI = !sourceBuffer || (sourceBuffer.prototype && typeof sourceBuffer.prototype.appendBuffer === 'function' && typeof sourceBuffer.prototype.remove === 'function'); return !!isTypeSupported && !!sourceBufferValidAPI; }
/** * convert tsconfig.json paths to webpack alias */ const convertTSConfigPaths2Aliases = () => { const tsConfigPath = path.resolve(process.cwd(), './tsconfig.json');
try { if (fs.existsSync(tsConfigPath)) { // dealing with json file with comments, we use json5 to parse tsconfig.json instead of requiring directly const tsConfig = JSON5.parse(fs.readFileSync(tsConfigPath)); let { baseUrl, paths } = get(tsConfig, 'compilerOptions', {});
// if SourceBuffer is exposed ensure its API is valid // safari and old version of Chrome doe not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible const sourceBufferValidAPI = !sourceBuffer || (sourceBuffer.prototype && typeof sourceBuffer.prototype.appendBuffer === 'function' && typeof sourceBuffer.prototype.remove === 'function'); return !!isTypeSupported && !!sourceBufferValidAPI; }
/** * convert tsconfig.json paths to webpack alias */ const convertTSConfigPaths2Aliases = () => { const tsConfigPath = path.resolve(process.cwd(), './tsconfig.json');
try { if (fs.existsSync(tsConfigPath)) { // dealing with json file with comments, we use json5 to parse tsconfig.json instead of requiring directly const tsConfig = JSON5.parse(fs.readFileSync(tsConfigPath)); let { baseUrl, paths } = get(tsConfig, 'compilerOptions', {});