dockview/packages/dockview-react/scripts/copy-css.js
2024-05-14 20:36:35 +01:00

14 lines
304 B
JavaScript

const path = require('path');
const fs = require('fs');
const outDir = path.join(__dirname, '../dist/styles');
if (!fs.existsSync(outDir)) {
fs.mkdirSync(outDir);
}
fs.copyFileSync(
path.join(__dirname, '../../dockview-core/dist/styles/dockview.css'),
path.join(outDir, 'dockview.css')
);