mirror of https://github.com/vuejs/vitepress
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
226 B
8 lines
226 B
4 years ago
|
const fs = require('fs-extra')
|
||
|
const glob = require('globby')
|
||
|
|
||
|
glob.sync('src/shared/**/*.ts').forEach((file) => {
|
||
|
fs.copy(file, file.replace(/^src\//, 'src/node/'))
|
||
|
fs.copy(file, file.replace(/^src\//, 'src/client/'))
|
||
|
})
|