Skip to content

Commit

Permalink
use GulpAssets.json and Assets.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrypt committed Jan 25, 2025
1 parent 35a108e commit df9c4ab
Show file tree
Hide file tree
Showing 46 changed files with 473 additions and 474 deletions.
1 change: 0 additions & 1 deletion .scripts/assets-build-tool/sass.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import * as sass from "sass";
import postcss from "postcss";
import postcssRTLCSS from "postcss-rtlcss";
import { Mode } from "postcss-rtlcss/options";
import { fileURLToPath } from "url";
import chokidar from "chokidar";

let action = process.argv[2];
Expand Down
2 changes: 1 addition & 1 deletion build.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const assetsLookupGlob = "src/{OrchardCore.Themes,OrchardCore.Modules}/**/Assets2.json";
export const assetsLookupGlob = "src/{OrchardCore.Themes,OrchardCore.Modules}/**/Assets.json";
export const parcelBundleOutput = "src/OrchardCore.Modules/OrchardCore.Resources/wwwroot/Scripts/bundle"

export function parcel() {
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ gulp.task('default', gulp.series(['build']));
*/

function getAssetGroups() {
var assetManifestPaths = glob.sync("./src/OrchardCore.{Modules,Themes}/*/Assets.json", {});
var assetManifestPaths = glob.sync("./src/OrchardCore.{Modules,Themes}/*/GulpAssets.json", {});
var assetGroups = [];
assetManifestPaths.forEach(function (assetManifestPath) {
var assetManifest = require("./" + assetManifestPath);
Expand Down
Loading

0 comments on commit df9c4ab

Please sign in to comment.