mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
chore(): update README and script
This commit is contained in:
@ -18,9 +18,8 @@ let readmeContent = fs.readFileSync(readmePath, 'utf-8');
|
||||
// https://unpkg.com/@ionic/core@latest/dist/ionic.js
|
||||
|
||||
readmeContent = readmeContent.replace(
|
||||
/https\:\/\/unpkg.com\/@ionic\/core@(.+?)\/dist\/ionic\.js/,
|
||||
'https://unpkg.com/@ionic/core@' + version + '/dist/ionic.js'
|
||||
/https\:\/\/unpkg.com\/@ionic\/core@(.+?)\//g,
|
||||
'https://unpkg.com/@ionic/core@' + version + '/'
|
||||
);
|
||||
|
||||
fs
|
||||
fs.writeFileSync(readmePath, readmeContent);
|
||||
|
Reference in New Issue
Block a user