Skip to content

Commit

Permalink
Update webpack commands in compile-oui.js (opensearch-project#584)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey Myssak <[email protected]>
Signed-off-by: Andrey Myssak <[email protected]>
  • Loading branch information
andreymyssak and SergeyMyssak committed Jul 13, 2023
1 parent d7b1113 commit d8bfe20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/compile-oui.js
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ function compileBundle() {

console.log('Building chart theme module...');
execSync(
'webpack src/themes/charts/themes.ts -o dist/oui_charts_theme.js --output-library-target="commonjs" --config=src/webpack.config.js',
'webpack --entry-reset ./themes/charts/themes.ts -o dist/oui_charts_theme.js --output-enabled-library-types="commonjs" --config=src/webpack.config.js',
{
stdio: 'inherit',
}
Expand All @@ -334,7 +334,7 @@ function compileBundle() {

/* OUI -> EUI Aliases */
execSync(
'webpack src/themes/charts/themes.ts -o dist/eui_charts_theme.js --output-library-target="commonjs" --config=src/webpack.config.js',
'webpack --entry-reset ./themes/charts/themes.ts -o dist/eui_charts_theme.js --output-enabled-library-types="commonjs" --config=src/webpack.config.js',
{
stdio: 'inherit',
}
Expand Down

0 comments on commit d8bfe20

Please sign in to comment.