Answer the question
In order to leave comments, you need to log in
Which supported boilerplate to choose for ES6/typescript?
To start one project based on babylon.js (I considered three.js, but I still want something "more relevant" in terms of library code), I would not like to invent another "bicycle" and choose a boilerplate - a project template for a collector, without example project code (or which can be removed through a system clean up) and / or an imposed project structure (respectively, not a starter-kit, since there will be a hodgepodge of different modules).
Technology:
Answer the question
In order to leave comments, you need to log in
In fact, this is exactly the case when you need to reinvent the wheel)
All you want is just a webpack config and a set of commands for launch, dev and production.
Accordingly, you need to install webpack and webpack-dev-server, show where to get files from, how to process (loaders are responsible for this), and where to collect them - do not be too lazy to study webpack, you can watch this screencast
Here is a simple example, I use this template to study typescript.
True, webpack 1 is already deprecated, but the difference in the config is not critical, so the screencast is still relevant.
Need ES6 along with typescript - add babel-loader
Need css preprocessor - add loader to this preprocessor
Linting needed - install eslint and Airbnb configs
In general, in the end, as I wrote earlier, since no solutions have already been proposed, I put together my own (webpack 2, devServer, eslint, bable, postcss, jade), in principle, in the future it will be possible to put it in the public domain.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question