Skip to content

Commit 6c3bdff

Browse files
authored
Reduced number of config files. (#2846)
1 parent 36fb9bb commit 6c3bdff

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const AadLoginRequest = { "scopes": ["openid", "profile", "https://manage
4646
export enum ConfigEndpoints {
4747
backend = "/config.json",
4848
service = "/config-apim.json",
49-
editor = "/editor-config.json"
49+
editor = "/config.json"
5050
}
5151

5252
export enum AadClientLibrary {

webpack.develop.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,8 @@ const { getArmToken } = require("./auth/arm-auth");
88

99
module.exports = async (env) => {
1010
const armToken = await getArmToken({});
11-
const patterns = designerConfig.plugins[1].patterns;
1211
const rules = designerConfig.module.rules;
1312

14-
patterns.push({
15-
from: `./src/config.design.json`,
16-
to: `./editor-config.json`,
17-
});
18-
1913
for (let i = 0; i < rules.length; i++) {
2014
if (rules[i].test.source === "\\.tsx?$") {
2115
rules[i].use = [

0 commit comments

Comments
 (0)