sysgears / webpack-virtual-modules

Webpack Virtual Modules is a webpack plugin that lets you create, modify, and delete in-memory files in a way that webpack treats them as if they were physically presented in the file system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[MODULE_NOT_FOUND] The npm's package "debug" is missing

enten opened this issue · comments

It's required at line 3:

var debug = require('debug')('webpack-virtual-modules');

Pushed the fix into 0.1.6

Hmm, seems the build is broken with the latest webpack. Going to look and fix the build tomorrow

You added the "debug" npm's package as dev dependency (under the key "devDepenencies").

Should it be added as dependency instead (under the key "dependencies")?

@enten Yes, I agree. But the reason build fails now is due to changes in the latest Webpack.

@enten The build has been fixed via:
|81ec55b

The fix has been included into webpack-virtual-modules@0.1.7

@Vlasenko
Thanks for your awesome work!