OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.36k stars 2.37k forks source link

Explore using ESBuild instead of Gulp in Core #14169

Open dangvanthanh opened 1 year ago

dangvanthanh commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, Orchard Core uses Gulp to bundle TypeScript, JavaScript, and CSS. However, Gulp is no longer being developed for new features.

Describe the solution you'd like

I was develop some project using Orchard Core. I use TypeScript and TailwindCSS for CSS. So I migrate Gulp to ESBuild. It's fast, fully support TypeScript, tree-shaking, CSS modules...

Describe alternatives you've considered

I am considering the possibility that Orchard Core has plans to use ESBuild instead of Gulp.

MikeAlhayek commented 1 year ago

@dangvanthanh if you have something to show, I suggest you our Steering meeting on Tuesdays 12PM PST https://docs.orchardcore.net/en/latest/docs/resources/meeting/ and perform a demo.

dangvanthanh commented 1 year ago

I am currently working on using Esbuild with Orchard Core. I will be showcasing a demo soon.

sebastienros commented 1 year ago

Thanks, looking forward to it

MikeAlhayek commented 11 months ago

@dangvanthanh is this something you are still working on? When should we expect a demo?

dangvanthanh commented 11 months ago

@MikeAlhayek currently, I can integrate using ESbuild (with PostCSS, TailwindCSS, Flowbite, TypeScript, and Vue 3). The development and demo are available at: https://github.com/dangvanthanh/orchardcoredev. However, I need to modify the ESbuild configuration for input and output assets.