esm-styles 0.3.5 → 0.3.6

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/lib/build.js CHANGED
@@ -252,7 +252,7 @@ export async function build(configPath = 'esm-styles.config.js') {
252
252
  '\n';
253
253
  await fs.writeFile(mainCssPath, mainCss, 'utf8');
254
254
  // 6. Create timestamp file
255
- const timestampPath = path.join(normalizedBasePath, config.timestampOutputPath || '', 'timestamp.mjs');
255
+ const timestampPath = path.join(config.basePath || '.', config.timestampOutputPath || '', 'timestamp.mjs');
256
256
  await fs.writeFile(timestampPath, `export default ${Date.now()}`, 'utf8');
257
257
  }
258
258
  // Helper for file URL import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esm-styles",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "A library for working with ESM styles",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",