@adobe-commerce/elsie 1.8.0-beta.0 → 1.8.0-beta.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/CHANGELOG.md +6 -0
- package/config/vite.mjs +5 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/config/vite.mjs
CHANGED
|
@@ -350,13 +350,14 @@ export default {
|
|
|
350
350
|
),
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
+
const licensePath = path.resolve(process.cwd(), 'LICENSE.md');
|
|
354
|
+
if (!fs.existsSync(licensePath)) {
|
|
355
|
+
this.error(`LICENSE.md not found at ${licensePath}`);
|
|
356
|
+
}
|
|
353
357
|
this.emitFile({
|
|
354
358
|
type: 'asset',
|
|
355
359
|
fileName: 'LICENSE.md',
|
|
356
|
-
source: fs.readFileSync(
|
|
357
|
-
path.resolve(process.cwd(), '../../LICENSE.md'),
|
|
358
|
-
'utf-8'
|
|
359
|
-
),
|
|
360
|
+
source: fs.readFileSync(licensePath, 'utf-8'),
|
|
360
361
|
});
|
|
361
362
|
|
|
362
363
|
const changelogPath = path.resolve(process.cwd(), 'CHANGELOG.md');
|