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 8, 2025
1 parent c77e701 commit 8d5517b
Show file tree
Hide file tree
Showing 43 changed files with 2 additions and 119 deletions.
108 changes: 0 additions & 108 deletions .scripts/assets-build-tool/gulpfile.cjs

This file was deleted.

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
9 changes: 0 additions & 9 deletions src/OrchardCore.Modules/OrchardCore.AdminMenu/Assets2.json

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit 8d5517b

Please sign in to comment.