webpack-internal-examples
webpack-internal-examples copied to clipboard
no webpack.config.js in repo
Hello. I tried to use the compiler-example code in my setup, but get errors, so I cloned the repo to start from there, but there is no webpack.config.js
file in the compiler-example
directory. It would be nice to have a working example to start from.
If it matters, this is the error I get trying to instantiate webpack.Compiler
with my own config (which works if I simply compile via webpack(config)
:
/Users/fleur/work/troutman-dragan/exploration/node_modules/webpack/lib/RequestShortener.js:16
return request.replace(NORMALIZE_SLASH_DIRECTION_REGEXP, "/");
^
TypeError: Cannot read property 'replace' of undefined
thanks, fleur
I also have the same question!