Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Web Compiler to Gulp | Upgraded from earlier version to 6.8 #6702


User avatar
0
dev_frontrush created

Hello all,

We saw that for the 6.7.0 release notes that you have moved away from the Web Compiler extension in favor of GULP. I am wondering of any changes that have to made on our end, since we currently are configured for Web Compiler, so we can take advantage of all the new enhancements brought on from 6.8.0's upgrade.

Stack

  • Core & Angualr .NET Zero
  • Sass (scss) pre-compiler (currently with Web Compiler extension)

We have a root /sass/ folder following the 7-in-1 architecture as well as localized scss files for components since the CLI auto-compiles those. For the root sass folder, we have the following compiler.json file:

[
  {
    "outputFile": "src/assets/primeng/datatable/css/primeng.datatable.css",
    "inputFile": "src/assets/primeng/datatable/css/primeng.datatable.less"
  },
  {
    "outputFile": "src/assets/primeng/file-upload/css/primeng.file-upload.css",
    "inputFile": "src/assets/primeng/file-upload/css/primeng.file-upload.less"
  },
  {
    "outputFile": "src/assets/primeng/autocomplete/css/primeng.autocomplete.css",
    "inputFile": "src/assets/primeng/autocomplete/css/primeng.autocomplete.less"
  },
  {
    "outputFile": "src/assets/common/styles/themes/default/metronic-customize.css",
    "inputFile": "src/sass/themes/default/_metronic-customize.scss"
  },
  {
    "outputFile": "src/assets/common/styles/metronic-customize.css",
    "inputFile": "src/sass/vendors/_metronic-customize.scss"
  },
  {
    "outputFile": "src/assets/common/styles/metronic-customize-angular.css",
    "inputFile": "src/sass/vendors/_metronic-customize-angular.scss"
  },
  {
    "outputFile": "src/assets/common/styles/themes/default/metronic-customize-angular.css",
    "inputFile": "src/sass/themes/default/_metronic-customize-angular.scss"
  },
  {
    "outputFile": "src/assets/common/styles/themes/default/primeng.datatable.css",
    "inputFile": "src/sass/themes/default/_primeng.datatable.scss"
  },
  {
    "outputFile": "src/styles.css",
    "inputFile": "src/sass/base/_base.scss"
  },
  {
    "outputFile": "src/sass/main.css",
    "inputFile": "src/sass/main.scss"
  }
]

What would we have to modify to utilize GULP, if needed, or is the Web Compiler fine continuining onwards? (With future updates, I feel the need to swap to GULP now before the application grows too large is pretty important).

Thank you!


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @dev_frontrush

    Moving from WebCompiler to Gulp is done for ASP.NET Core & Jquery version. We already replaced it with webpack and it will be released with v6.9 of AspNet Zero.

    For Angular project, could you create an issue on GitHub (https://github.com/aspnetzero/aspnet-zero-core/issues) and let us work on this issue as well ? We can release it with v7.0.

    Thanks,