Skip to content

Commit 9fef6e9

Browse files
committed
fix: emit a public lib/schema.json
1 parent 3f845cf commit 9fef6e9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

rollup.esm.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,8 @@ module.exports = {
113113
name: 'copy-assets',
114114
writeBundle() {
115115
const schemaSrc = path.join(__dirname, 'src/config/configSchema.json');
116-
const schemaDest = path.join(outDir, 'config/configSchema.json');
116+
const schemaDest = path.join(outDir, 'schema.json');
117117
if (existsSync(schemaSrc)) {
118-
mkdirSync(path.dirname(schemaDest), { recursive: true });
119118
copyFileSync(schemaSrc, schemaDest);
120119
}
121120
const cssSrc = path.join(__dirname, 'dist/cld-video-player.min.css');

0 commit comments

Comments
 (0)