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 +1 -1
- package/package.json +1 -1
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(
|
|
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
|