melonjs / es6-boilerplate Goto Github PK
View Code? Open in Web Editor NEWES6 Vite Boilerplate for melonJS
License: MIT License
ES6 Vite Boilerplate for melonJS
License: MIT License
@see jantimon/favicons-webpack-plugin#302
And installing version of favicon prior to 7.0 (like 6.2.2 for now) is installed deprecated dependencies.
If you're trying to run npm run dev
with this boilerplate project, you get the following exception:
ERROR in ./node_modules/melonjs/dist/melonjs.module.js 3:9
Module parse failed: Identifier '_set2' has already been declared (3:9)
File was processed with these loaders:
function _set2(target, property, value, receiver, isStrict) { var s = _set2(target, property, value, receiver || target); if (!s && isStrict) { throw new Error('failed to set property'); } return value; }
|
| function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
@ ./src/index.js 3:0-106 9:0-14 11:7-17 23:6-29 23:30-45 28:2-12 30:2-20 32:2-16 34:4-13 34:14-24 35:4-13 35:14-24 37:4-17 39:4-16 39:17-27
webpack 5.74.0 compiled with 1 error in 9124 ms
The fix for this is to change babel version, fix webpack.config.js etc. I am going to provide a pull request in a few minutes.
see the typescript boilerplate for reference :
https://github.com/melonjs/typescript-boilerplate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.