You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
405 B
JavaScript
14 lines
405 B
JavaScript
/*eslint-env node*/
|
|
"use strict";
|
|
|
|
const path = require("path");
|
|
|
|
// If in 'production' mode, use the combined/minified/optimized version of Cesium
|
|
if (process.env.NODE_ENV === "production") {
|
|
// eslint-disable-next-line global-require
|
|
module.exports = require(path.join(__dirname, "Build/Cesium/Cesium"));
|
|
return;
|
|
}
|
|
|
|
module.exports = require(path.join(__dirname, "Build/CesiumUnminified/Cesium"));
|