Skip to content

Commit

Permalink
Fix paths in npm-sass task
Browse files Browse the repository at this point in the history
  • Loading branch information
alexslavr committed Jul 24, 2024
1 parent ae02d24 commit 0921b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/devextreme/build/gulp/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ module.exports = {
TRANSPILED_PROD_RENOVATION_PATH: 'artifacts/transpiled-renovation-npm',
TRANSPILED_RENOVATION_PATH: 'artifacts/transpiled-renovation',
TRANSPILED_PROD_ESM_PATH: 'artifacts/transpiled-esm-npm',
SCSS_PACKAGE_PATH: '../../devextreme-scss',
SCSS_PACKAGE_PATH: '../devextreme-scss',
EULA_URL: 'https://js.devexpress.com/Licensing/'
};
2 changes: 1 addition & 1 deletion packages/devextreme/build/gulp/gulp-data-uri.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const img = (buffer, ext) => {
};

const handler = (_, svgEncoding, fileName) => {
const relativePath = path.join(__dirname, '..', '..', fileName);
const relativePath = path.join(__dirname, '..', '..', '..', 'devextreme-scss', fileName);
const filePath = path.resolve(relativePath);
const ext = filePath.split('.').pop();
const data = fs.readFileSync(filePath);
Expand Down

0 comments on commit 0921b89

Please sign in to comment.