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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. 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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ptech-preset",
3
- "version": "1.3.9",
3
+ "version": "1.4.1",
4
4
  "description": "Auto Module.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",