Skip to content

Commit

Permalink
Fixed primefaces#4064 - primereact 9.1.0 it is not loaded using vite
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Feb 15, 2023
1 parent d310963 commit 8f8b19b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions components/doc/button/linkdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ export default function LinkDemo() {
return (
<>
<DocSectionText {...props}>
<p>
A button can be rendered as a link as well.
</p>
<p>A button can be rendered as a link as well.</p>
</DocSectionText>
<div className="card flex justify-content-center">
<Button label="Submit" link />
Expand Down
6 changes: 5 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ gulp.task('copy-d.ts', function () {
.pipe(gulp.dest('./' + process.env.OUTPUT_DIR));
});

gulp.task('copy-package.json', function () {
return gulp.src(process.env.INPUT_DIR + '**/package.json').pipe(gulp.dest('./' + process.env.OUTPUT_DIR));
});

//Building project with run sequence
gulp.task('copy-files', gulp.series('copy-css', 'copy-d.ts'));
gulp.task('copy-files', gulp.series('copy-css', 'copy-d.ts', 'copy-package.json'));
gulp.task('build-resources', gulp.series('build-css', 'images', 'build-themes', 'build-meta', 'copy-files'));

0 comments on commit 8f8b19b

Please sign in to comment.