wc-loader icon indicating copy to clipboard operation
wc-loader copied to clipboard

Tries to access publicPath of undefined

Open Birowsky opened this issue 8 years ago • 1 comments

screen shot 2017-05-02 at 21 00 39

This is what I have in my webpack config:

  output: 
   { path: '/Users/Birowsky/Projects/Commercial/Dscova/Dscova - Frontend/builds/web',
     publicPath: '',
     filename: '[name].js' },

Let me know if I can provide anything else helpful. Note that I have no idea how loaders are implemented.

Thanx!

Birowsky avatar May 02 '17 19:05 Birowsky

I just added publicPath as a query param and that error is gone:

loader: 'babel-loader!wc-loader?publicPath='

is this expected?

Birowsky avatar May 02 '17 20:05 Birowsky