Skip to content

Commit

Permalink
[Bug][Build] export config file (#183)
Browse files Browse the repository at this point in the history
In the release build the config file wasn't being exported therefore
when compiled down OpenSearch Dashboards wouldn't start.

Issue:
n/a

Signed-off-by: Kawika Avilla <[email protected]>
  • Loading branch information
kavilla authored Apr 18, 2023
1 parent 031a761 commit 7c6ce17
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .opensearch_dashboards-plugin-helpers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"serverSourcePatterns": [
"package.json",
"tsconfig.json",
"yarn.lock",
".yarnrc",
"{lib,public,server,webpackShims,translations,utils,models,common}/**/*",
"!__tests__",
"config.ts"
]
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"public/**/*.tsx",
"server/**/*.ts",
"common/**/*.ts",
"../../typings/**/*"
"../../typings/**/*",
"config.ts"
],
"exclude": ["node_modules", "*/node_modules/"]
}

0 comments on commit 7c6ce17

Please sign in to comment.