Skip to content

Commit

Permalink
making sure yaml-loader only looks at HelpMode yaml file, since throw…
Browse files Browse the repository at this point in the history
…ing errors on others
  • Loading branch information
assuntad23 committed Feb 5, 2024
1 parent 8519869 commit 08fba9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const scriptsBase = path.join(__dirname, "src");
const testsBase = path.join(__dirname, "tests");
const libsBase = path.join(scriptsBase, "libs");
const styleBase = path.join(scriptsBase, "style");
const helpTextConfigPath = path.join(scriptsBase, "stores", "helpMode");

const modulesExcludedFromLibs = [
"jspdf",
Expand Down Expand Up @@ -106,6 +107,7 @@ module.exports = (env = {}, argv = {}) => {
},
{
test: /\.ya?ml$/,
include: helpTextConfigPath,
loader: "yaml-loader",
},
{
Expand Down

0 comments on commit 08fba9f

Please sign in to comment.