@@ -76,8 +76,8 @@ consider using a global ignore file
76
76
When you use pub from within a Git repo,
77
77
pub ignores the same files that Git does.
78
78
For example, if you run ` pub publish ` from a Git repo
79
- that has a ` .gitignore ` file containing ` *.js ` ,
80
- then your published package won't contain ` *.js ` files .
79
+ that has a ` .gitignore ` file containing ` keys.txt ` ,
80
+ then your published package won't contain the ` keys.txt ` file .
81
81
82
82
For more information on ` .gitignore ` files,
83
83
see the GitHub help page
@@ -102,19 +102,3 @@ similar to Ruby's `Gemfile.lock`.
102
102
** For application packages** , ** do** commit ` pubspec.lock ` .
103
103
This file is the recommended way for non-shared resources
104
104
such as applications to manage their dependencies.
105
-
106
- ### * .js
107
-
108
- Don't commit JavaScript files generated by dart2js. Just be careful
109
- that you don't accidentally exclude source files written in JavaScript.
110
-
111
- Calling dart2js without any flags generates ` out.js ` , but the
112
- tools that invoke dart2js often specify an output name, such as:
113
-
114
- {% prettify none %}
115
- dart2js -o main.dart.js main.dart
116
- {% endprettify %}
117
-
118
- For more information on generating and debugging
119
- JavaScript source for Dart apps, see the
120
- [ dart2js documentation] ( /tools/dart2js ) .
0 commit comments