mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
chore(publish): fixed publish npm script to only call the script once
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
console.log('Publish Script Starting ...');
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
|
||||
@ -14,4 +15,6 @@ fs.writeFileSync(INDEX_JS_DIST, '');
|
||||
|
||||
console.log('publish: create', INDEX_DTS_DIST);
|
||||
var srcIndexDTS = fs.readFileSync(INDEX_DTS_SRC, 'utf-8');
|
||||
fs.writeFileSync(INDEX_DTS_DIST, srcIndexDTS);
|
||||
fs.writeFileSync(INDEX_DTS_DIST, srcIndexDTS);
|
||||
|
||||
console.log('Publish Script ... Complete');
|
Reference in New Issue
Block a user