diff --git a/package.json b/package.json index 8a631e2..fe42f03 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "repository": "https://github.com/datalens-tech/ui-sandbox-modules.git", "author": "DataLens Team ", "files": [ - "dist/" + "dist/", + "src/" ], "scripts": { "build": "rm -rf dist && NODE_OPTIONS=--max_old_space_size=4096 webpack -c webpack.config.js", diff --git a/webpack.config.js b/webpack.config.js index c9b4561..dffa227 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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; }, {}), },