mirror of
https://github.com/tabler/tabler.git
synced 2025-12-22 01:44:25 +04:00
10 lines
285 B
JavaScript
Executable File
10 lines
285 B
JavaScript
Executable File
const libs = require('../pages/_data/libs'),
|
|
path = require('path'),
|
|
{ exec } = require('child_process');
|
|
|
|
libs.forEach(function (lib) {
|
|
let dirname = path.dirname(lib);
|
|
let cmd = `mkdir -p "dist/libs/${dirname}" && cp -r node_modules/${lib} dist/libs/${lib}`;
|
|
exec(cmd)
|
|
});
|