diff --git a/webpack.config.js b/webpack.config.js index 65ea675..83c50ed 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,7 @@ function getEntries(dir) { }) .filter(dirent => dirent.isDirectory()) .map(dirent => ({ - [`${dirent.name}`]: `${dir}/${dirent.name}/index.ts` + [`@flowplayer/components/${dirent.name}`]: `${dir}/${dirent.name}/index.ts` })) ) }