Giter Club home page Giter Club logo

phaser-project-template's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phaser-project-template's Issues

tsconfig.json error

Getting the error in the tsconfig.json:

Cannot write file 'c:/Users/kg/code/phaser-template/pwa/sw.js' because it would overwrite input file.
Cannot write file 'c:/Users/kg/code/phaser-template/pwa/sw.js' because it would overwrite input file.
Cannot write file 'c:/Users/kg/code/phaser-template/pwa/sw.js' because it would overwrite input file.
Cannot write file 'c:/Users/kg/code/phaser-template/pwa/sw.js' because it would overwrite input file.
Cannot write file 'c:/Users/kg/code/phaser-template/pwa/sw.js' because it would overwrite input file.

Had to add

  "exclude": ["pwa", "webpack"]

to the tsconfig.

Object.entries is not a function error at InjectManifest plugin

First of all thanks a lot for this great template!

After pulling the latest version I receive following error when running the template:

× 「wdm」: TypeError: Object.entries is not a function
at generateMetadataForAssets (C:\WorkspaceTest\phaser-project-template\node_modules\workbox-webpack-plugin\build\lib\get-manifest-entries-from-compilation.js:171:22)
at getManifestEntriesFromCompilation (C:\WorkspaceTest\phaser-project-template\node_modules\workbox-webpack-plugin\build\lib\get-manifest-entries-from-compilation.js:232:25)
at C:\WorkspaceTest\phaser-project-template\node_modules\workbox-webpack-plugin\build\inject-manifest.js:96:21
at next (native)
at asyncGeneratorStep (C:\WorkspaceTest\phaser-project-template\node_modules\workbox-webpack-plugin\node_modules@babel\runtime\helpers\asyncToGenerator.js:3:24)
at _next (C:\WorkspaceTest\phaser-project-template\node_modules\workbox-webpack-plugin\node_modules@babel\runtime\helpers\asyncToGenerator.js:25:9)

After commenting the InjectManifest plugin in webpack.common.js I was able to run the template.

Fix to "WARNING in vendors.bundle.js is 18.8 MB, and won't be precached." ?

Hi!,

After "npm start" it says:

WARNING in vendors.bundle.js is 18.8 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.

Adding "maximumFileSizeToCacheInBytes: 2010241024," at "InjectManifest" section, in webpack/webpack.common.js solves the issue.. its right?

new InjectManifest({
      swSrc: path.resolve(__dirname, '../pwa/sw.js'),
      maximumFileSizeToCacheInBytes: 20*1024*1024,
    })

Thanks!

Delete if possible

Nevermind. I don't know why this came to you. It's not even for this repo...

Reloaded version is always one behind

When running npm start, the watcher does notice changes and reloads the client. However, changes are not immediately seen in the browser. The browser version is always 1 iteration behind. If the browser is manually reloaded, the latest version is seen.

How can I make the HMR show the latest version?

Change prettier config

Hi, this is more of a question than an issue - the .prettierrc file contains "@yandeu/prettier-config" - I'd like to change the config to include semi-colons at the end of lines, how can I do that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.