Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when output.filename in webpack.config.js is a function #113

Open
2 of 6 tasks
WofWca opened this issue Jul 25, 2020 · 0 comments
Open
2 of 6 tasks

Crashes when output.filename in webpack.config.js is a function #113

WofWca opened this issue Jul 25, 2020 · 0 comments

Comments

@WofWca
Copy link

WofWca commented Jul 25, 2020

Type:

  • bug
  • feature
  • enhancement
  • question

Environment:

  • OS: Windows 10
  • Browser: –
  • Library Version: 1.1.4

I'm going to open a PR:

  • yes
  • no

Description:
Webpack docs on this option: https://webpack.js.org/configuration/output/#outputfilename

Part of the error message:

.../src/utils/manifest.ts:29
  const toRemove = (filename as string).replace("[name]", "");
                                        ^
TypeError: filename.replace is not a function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant