Skip to content

Commit

Permalink
fix: fix d3 entries path resolving (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
korvin89 authored Nov 14, 2024
1 parent 22af856 commit d0f1e39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"repository": "https://github.com/datalens-tech/ui-sandbox-modules.git",
"author": "DataLens Team <https://github.com/datalens-tech>",
"files": [
"dist/"
"dist/",
"src/"
],
"scripts": {
"build": "rm -rf dist && NODE_OPTIONS=--max_old_space_size=4096 webpack -c webpack.config.js",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
import: '@gravity-ui/date-utils.2.5.3',
},
...entries.reduce((acc, entry) => {
acc[entry] = `./src/entries/${entry.replace('/', '_')}.ts`;
acc[entry] = path.resolve(__dirname, `./src/entries/${entry.replace('/', '_')}.ts`);
return acc;
}, {}),
},
Expand Down

0 comments on commit d0f1e39

Please sign in to comment.