Skip to content

Commit

Permalink
Merge pull request #204 from xtermjs/scoped
Browse files Browse the repository at this point in the history
Update script/css imports for scoped packages
  • Loading branch information
Tyriar committed Mar 1, 2024
2 parents 37e9df7 + 306dfbb commit ca68fb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _includes/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ To start using xterm.js on your browser, add the `xterm.js` and `xterm.css` to t
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="node_modules/xterm/css/xterm.css" />
<script src="node_modules/xterm/lib/xterm.js"></script>
<link rel="stylesheet" href="node_modules/@xterm/xterm/css/xterm.css" />
<script src="node_modules/@xterm/xterm/lib/xterm.js"></script>
</head>
<body>
<div id="terminal"></div>
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ gulp.task('docs', gulp.series('typedoc', async function() {
}

// also copy files over needed for demo to run
gulp.src('./node_modules/xterm/css/xterm.css').pipe(gulp.dest('./css'));
gulp.src('./node_modules/xterm/lib/xterm.js').pipe(gulp.dest('./js'));
gulp.src('./node_modules/xterm-addon-webgl/lib/xterm-addon-webgl.js').pipe(gulp.dest('./js'));
gulp.src('./node_modules/@xterm/xterm/css/xterm.css').pipe(gulp.dest('./css'));
gulp.src('./node_modules/@xterm/xterm/lib/xterm.js').pipe(gulp.dest('./js'));
gulp.src('./node_modules/@xterm/addon-webgl/lib/xterm-addon-webgl.js').pipe(gulp.dest('./js'));
}));

gulp.task('default', gulp.series('docs'));

0 comments on commit ca68fb1

Please sign in to comment.