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

Update Project Templates/Webpack #95

Closed
samme opened this issue Apr 1, 2017 · 4 comments
Closed

Update Project Templates/Webpack #95

samme opened this issue Apr 1, 2017 · 4 comments

Comments

@samme
Copy link
Collaborator

samme commented Apr 1, 2017

We should make a simplest possible working Webpack 2 config for Phaser and link to it from README.

https://github.com/photonstorm/phaser-ce/tree/master/resources/Project%20Templates/Webpack

@Dreaded-Gnu
Copy link
Contributor

Dreaded-Gnu commented Apr 3, 2017

If you want, you can assign that issue to me, and I'll take care for adding a bare webpack project template. We could then replace the webpack part from readme by a link to webpack project template.

What shall be done for the webpack project template? Just extend the existing one or add features like es6 with babel?
We could also add a simple webpack typescript example project with this issue. I can reuse a part of a private project for that, where I build the game with phaser, typescript and babel.

@samme
Copy link
Collaborator Author

samme commented Apr 4, 2017

I'd like just a simple template with webpack.config.js and no extra loaders or plugins, and with comments in the config to show what it's doing and why.

You can definitely add a Webpack/Typescript template too if you like.

@Dreaded-Gnu
Copy link
Contributor

Also here the question: Can I add a package.json for that project template? Then it might be ready to use from start.

@samme
Copy link
Collaborator Author

samme commented Apr 5, 2017

Sure.

samme added a commit to samme/phaser-ce that referenced this issue Apr 15, 2017
- Fix headings (npmjs.org)
- Link to phaser-ce on jsDelivr
- Format JS code block
- Update Webpack notes (phaserjs#95)
@samme samme mentioned this issue Apr 15, 2017
@samme samme closed this as completed in 55f23f2 Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants