ptech-preset 1.3.9 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -520,6 +520,9 @@ function pluginCore(opts) {
|
|
|
520
520
|
api.modifyRsbuildConfig((config) => {
|
|
521
521
|
config.output ??= {};
|
|
522
522
|
const fromEnv = process.env.CDN_URL || process.env.ASSET_PREFIX;
|
|
523
|
+
console.log("fromEnv", fromEnv);
|
|
524
|
+
console.log("process.env.CDN_URL", process.env.CDN_URL);
|
|
525
|
+
console.log("process.env.ASSET_PREFIX", process.env.ASSET_PREFIX);
|
|
523
526
|
const fallbackCdn = `${CDN_BASE}${pkgSafe}/`;
|
|
524
527
|
const target = fromEnv ?? fallbackCdn;
|
|
525
528
|
if (isBuild) {
|