|
|
@ -11,7 +11,4 @@ fs.writeFileSync(path.join(cwd, 'lib/index.js'), newIndex, 'utf-8'); |
|
|
|
const antdCss = path.join(cwd, 'dist/antd.css'); |
|
|
|
fs.createReadStream(antdCss) |
|
|
|
.pipe(fs.createWriteStream(path.join(cwd, 'lib/index.css'))); |
|
|
|
const typings = path.join(cwd, 'type-definitions/antd.d.ts'); |
|
|
|
fs.createReadStream(typings) |
|
|
|
.pipe(fs.createWriteStream(path.join(cwd, 'dist/antd.d.ts'), 'utf-8')); |
|
|
|
console.log('prenpm done'); |
|
|
|