Skip to content

Setting 'config.builld.assetsPublicPath' in Production building doesn't work #203

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

Closed
Calvin-he opened this issue May 31, 2017 · 1 comment

Comments

@Calvin-he
Copy link

The variable publicPath in 'build.webpack.prod.conf.js' is like this below:
publicPath: isELECTRON ? path.join(__dirname, '../dist/') : '/',

I think the correct way should be:
publicPath: isELECTRON ? path.join(__dirname, '../dist/') : 'config.builld.assetsPublicPath',

@luventa
Copy link
Member

luventa commented Jun 1, 2017

Yes you'r right. I'm correcting it now.

@luventa luventa closed this as completed in 70eb7ec Jun 1, 2017
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