Is there some specific folder in Meteor file structure which is simply ignored by Meteor? (meteor bundle
and meteor deploy
etc)
Or better yet: is there a kind of .meteorignore
file where we can list files for Meteor to ignore?
However, you may override the default behavior using .meteorignore files, which cause the build system to ignore certain files and directories using the same pattern syntax as .gitignore files. These files may appear in any directory of your app or package, specifying rules for the directory tree below them.
All your CSS style files will be processed using Meteor’s default file load order rules along with any import statements and concatenated into a single stylesheet, merged-stylesheets.css. In a production build this file is also minified.
The Meteor build system is the actual command line tool that you get when you install Meteor. You run it by typing the meteor command in your terminal, possibly followed by a set of arguments. Read the docs about the command line tool or type meteor help in your terminal to learn about all of the commands.
In Meteor apps, javascript, typescript, css files that are dynamically imported, and many other types of files are converted into javascript modules during the build process. Instead of reloading the client after a rebuild, Meteor is able to update the javascript modules within the running application that were modified.
There's no such file as .meteorignore
yet.
Currently the only reliable way to hide a file from Meteor is to make it hidden (add a dot to the beginning of name). You can hide the whole directory, which is useful if you need specific filenames for things like Grunt tasks.
For example if you create a directory called .hammerTime
, then Meteor can't touch this.
Update:
As of Meteor v1.5.2.1, there is support for a .meteorignore
file. It works exactly the same as a .gitignore
.
As of Meteor v1.5.2.1, there is support for a .meteorignore
file. It works exactly the same as a .gitignore
.
You can use them in any directory of your project and are fully integrated with the file watching system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With