![]() ![]() For example, to get all of the newest stable ES2015 JavaScript features in your app, you add the ecmascript package. ![]() ![]() The Meteor build process is configured almost entirely through adding and removing packages to your app and putting files in specially named directories. Meteor puts heavy emphasis on reducing or removing build configuration files, so you won’t see any large build process config files like you would in Gulp or Webpack. These plugins define different parts of your app build process. The main function of the Meteor build tool is to run “build plugins”. Hot module replacement can optionally be used so you can view and test your changes even quicker. The build tool automatically detects any relevant file changes using a file watching system and recompiles the necessary changes, restarting your client or server environment as needed. ![]() Reloads app on file changeĪfter executing the meteor command to start the build tool you should leave it running while further developing your app. It’s Meteor’s built-in solution to the problems also solved by tools like Grunt, Gulp, Webpack, Browserify, Nodemon, and many others, and uses many popular Node.js tools like Babel and UglifyJS internally to enable a seamless experience. The Meteor build tool is what compiles, runs, deploys, and publishes all of your Meteor apps and packages. Read the docs about the command line tool or type meteor help in your terminal to learn about all of the commands. You run it by typing the meteor command in your terminal, possibly followed by a set of arguments. The Meteor build system is the actual command line tool that you get when you install Meteor. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |