const { version: panelsVersion, vendorVersion } = require('../package.json');

const isProduction = process.env.NODE_ENV === 'production';
const URI = isProduction ? '//cdn.usepanels.com/' : '/';
const EXT = isProduction ? '.min.js' : '.js';

export const panels = process.env.PANELS_RUNTIME_URI || `${URI}panels-${panelsVersion}${EXT}`;
export const vendor = process.env.PANELS_VENDOR_URI || `${URI}vendor-${vendorVersion}${EXT}`;

@@ -171,16 +171,15 @@
 dn.u
-sepanels
+xtemple
 .com

use uxtemple cdn alias until ICANN issue gets sorted