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

Establishing the Development Workflow #15

Merged
merged 16 commits into from
Feb 12, 2021
Merged

Establishing the Development Workflow #15

merged 16 commits into from
Feb 12, 2021

Conversation

jelster
Copy link
Owner

@jelster jelster commented Jan 25, 2021

This PR adds basic repository content and configuration for the application.

  • .gitignore
  • package.json and package.lock.json with BabylonJS, Webpack dev dependencies
    -npm run scripts for start, build, and lint
  • webpack.common.js and plugin setup

Opening PR now to allow early feedback

@jelster
Copy link
Owner Author

jelster commented Jan 25, 2021

In case anyone is wondering, the similarities between this and Raanan Weber's BJS repository are intentional; the goal is to establish the foundation for building an ES6 web application using BJS, whereas Raanan's repository is oriented towards TypeScript

@jelster jelster linked an issue Feb 3, 2021 that may be closed by this pull request
@jelster jelster marked this pull request as ready for review February 4, 2021 16:41
@jelster jelster requested a review from RaananW February 4, 2021 16:41
Copy link
Collaborator

@RaananW RaananW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better late than never ;-)

Just have a few comments, but it looks great.

package.json Outdated Show resolved Hide resolved
src/startscene.js Outdated Show resolved Hide resolved
webpack.prod.js Outdated Show resolved Hide resolved
src/startscene.js Outdated Show resolved Hide resolved
@jelster jelster merged commit 53c6a03 into main Feb 12, 2021
jelster added a commit that referenced this pull request Feb 13, 2021
Squashed Merge that includes these additions and changes

* simplify .gitignore

* Add common webpack config, placeholder dirs and files

* Align approach with RW's TS approach. Fix scripts to use webpack configs

* refactor webpack config, create canvas in index

* including prod webpack config in updates

* Adapt start scene snippet into Class

* Capture camera, env into StartScene class

* convert from class to component. Export createStartScene

* Add landing page markup

* Tweak landing page styles and markup

* tweak CSS

* remove source map from prod builds

* remove devtool (sourcemap) option

* Tighten up import statements to use tree-shaking

Before: 8.91 MiB
After: 3.11 MiB

* Change to preview v5 of BJS packages
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

Successfully merging this pull request may close these issues.

Landing Page for site
2 participants