Skip to content

Commit 9bc4017

Browse files
authored
Merge pull request #522 from arfianadam/webpack-dlls-fix
Webpack DLLS fix
2 parents 84f8dcc + 9e91d5f commit 9bc4017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function isValidDLLs(dllNames, assetsPath) {
5858
try {
5959
// eslint-disable-next-line import/no-dynamic-require
6060
const manifest = require(path.join(projectRootPath, `webpack/dlls/${dllName}.json`));
61-
const dll = fs.readFileSync(path.join(assetsPath, `dlls/dll__${dllName}.js`, 'utf8'));
61+
const dll = fs.readFileSync(path.join(assetsPath, `dlls/dll__${dllName}.js`), 'utf8');
6262

6363
if (dll.indexOf(manifest.name) === -1) {
6464
console.warn(`Invalid dll: ${dllName}`);

0 commit comments

Comments
 (0)