chore: Changed path to exstensions
This commit is contained in:
parent
ed63525f12
commit
dbc9a364d2
3 changed files with 7 additions and 2 deletions
|
@ -9,11 +9,11 @@ export default gulp.task('build:copy-ui', callback => {
|
|||
try {
|
||||
ensureDir(path.resolve(PATHS.UI));
|
||||
fs.copyFileSync(
|
||||
path.join(PATHS.VSIX_DIR, 'webviews', 'ui', 'release-notes', 'release-notes.html'),
|
||||
path.join(PATHS.EXT_DIR, 'webviews', 'ui', 'release-notes', 'release-notes.html'),
|
||||
path.join(PATHS.UI, 'release-notes.html')
|
||||
);
|
||||
fs.copyFileSync(
|
||||
path.join(PATHS.VSIX_DIR, 'webviews', 'ui', 'release-notes', 'style.css'),
|
||||
path.join(PATHS.EXT_DIR, 'webviews', 'ui', 'release-notes', 'style.css'),
|
||||
path.join(PATHS.UI, 'release-notes.css')
|
||||
);
|
||||
} catch (error) {
|
||||
|
|
|
@ -9,6 +9,7 @@ export const PATHS: IPaths = {
|
|||
THEMES: './themes',
|
||||
UI: './ui',
|
||||
VSIX_DIR: path.join(__dirname, '../../'),
|
||||
EXT_DIR: path.join(__dirname, '..')
|
||||
};
|
||||
|
||||
export default PATHS;
|
||||
|
|
|
@ -19,6 +19,10 @@ export interface IPaths {
|
|||
* Extension directory
|
||||
*/
|
||||
VSIX_DIR: string;
|
||||
/**
|
||||
* Internal Extensions directory
|
||||
*/
|
||||
EXT_DIR: string;
|
||||
/**
|
||||
* UI directory
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue