85d30328aa
Signed-off-by: Pamplemousse <git@xaviermaso.com>
14 lines
375 B
JavaScript
14 lines
375 B
JavaScript
const Fs = require("fs");
|
|
const Fse = require("fs-extra");
|
|
const Path = require("path");
|
|
|
|
const componentsPath = Path.join("www", "components");
|
|
Fse.mkdirpSync(componentsPath);
|
|
|
|
[
|
|
"jquery",
|
|
].forEach(l => {
|
|
const source = Path.join("node_modules", l);
|
|
const destination = Path.join(componentsPath, l);
|
|
Fs.cpSync(source, destination, { recursive: true });
|
|
});
|