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

Tries to access publicPath of undefined #19

Open
Birowsky opened this issue May 2, 2017 · 1 comment
Open

Tries to access publicPath of undefined #19

Birowsky opened this issue May 2, 2017 · 1 comment

Comments

@Birowsky
Copy link

Birowsky commented May 2, 2017

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
Copy link
Author

Birowsky commented May 2, 2017

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

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

is this expected?

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