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

Fix playground script #76

Open
donalmurtagh opened this issue Apr 11, 2018 · 0 comments
Open

Fix playground script #76

donalmurtagh opened this issue Apr 11, 2018 · 0 comments

Comments

@donalmurtagh
Copy link
Contributor

If you run the script to build the playground

"build:playground": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.config.prod.js --optimize-minimize && cp playground/index.prod.html build/index.html",

It fails because playground/index.prod.html does not exist. I changed this to playground/index.html and the script completes, but the CSS and JS links in build/index.html are incorrect.

I was able to run the playground by manually fixing these links. It would be very helpful if a script was provided that both builds and runs the playground.

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