diff --git a/webpack.config.js b/webpack.config.js index 14eeaea4..53022ab8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -18,7 +18,7 @@ const Entries = () => { const ignore = []; glob.sync(pattern, {ignore: ignore}).map((item) => { - entries[path.parse(item).name] = item } + entries[path.parse(item).name] = `./${item}` } ); return entries; };