Skip to content

Commit eab99de

Browse files
Purukittokwalrath
authored andcommittedAug 27, 2019
Update private-files.md (#1853)
1 parent d8d7284 commit eab99de

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed
 

‎src/_guides/libraries/private-files.md

+2-18
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ consider using a global ignore file
7676
When you use pub from within a Git repo,
7777
pub ignores the same files that Git does.
7878
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.
8181

8282
For more information on `.gitignore` files,
8383
see the GitHub help page
@@ -102,19 +102,3 @@ similar to Ruby's `Gemfile.lock`.
102102
**For application packages**, **do** commit `pubspec.lock`.
103103
This file is the recommended way for non-shared resources
104104
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

Comments
 (0)
Please sign in to comment.