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

Compatibility with clean-webpack-plugin (or just any plugin to clean the build dir before the build #12

Open
eamodio opened this issue Aug 28, 2018 · 1 comment

Comments

@eamodio
Copy link

eamodio commented Aug 28, 2018

Related to #6 but different in that I only want the data to be cached right at the start, so that a clean build can still be performed.

Also I'm running into issues when trying to use both this plug-in and clean-webpack-plugin:

(node:29504) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open 'C:\Users\Eric\code\vscode-gitlens\dist\extension.js'
(node:29504) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:29504) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Warning: The 'no-floating-promises' rule requires type information.
(node:29504) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
{ Error: ENOENT: no such file or directory, open 'C:\Users\Eric\code\vscode-gitlens\dist\extension.js'
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\Eric\\code\\vscode-gitlens\\dist\\extension.js' }

In my webpack config, I was adding new SizePlugin() as the first plugin.

@developit
Copy link
Collaborator

Sounds like #6 would be ideal here.

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

2 participants