Skip to content

Commit 34a6a67

Browse files
castastrophemwcz
authored andcommitted
Add compiled assets to the gitignore (#267)
* Ignore compiled js files in git * Adjust gitignore values * Adjust to shell glob instead of regex * Remove compiled files to init the gitignore rules * Remove compiled assets from git tracking * remove my-cool-element from test file * include themes in gitignore, and don't ignore tooling files * remove the ignored files * re-add the root copy of pfe-icons.svg * move pfe-avatar story file into src * don't copy src/story files into element dirs * move story files into demo dir * clean up unnecessary *.story.js omission
1 parent b965139 commit 34a6a67

File tree

90 files changed

+2220
-4675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+2220
-4675
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22
node_modules
33
tmp
44

5+
# ignore js, map, and css in element dirs
6+
elements/*/*.js
7+
elements/*/*.map
8+
elements/*/*.css
9+
# but don't ignore tooling files
10+
!elements/*/gulpfile.js
11+
!elements/*/rollup.config.js
12+
13+
# and same for themes
14+
themes/*/*.js
15+
themes/*/*.map
16+
themes/*/*.css
17+
!themes/*/gulpfile.js
18+
!themes/*/rollup.config.js
19+
520
# Compiled index
621
doc/index.html
722

File renamed without changes.

elements/pfe-accordion/pfe-accordion.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

elements/pfe-accordion/pfe-accordion.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)