Skip to content

Commit 544b589

Browse files
committed
feat(Build): Include the build in the npm package.
The compiled build is now included in npm packages by including the dist directory in .npmignore. To not increase the package size too much the JavaScript map files are not included. Now you can include Patternslib by using unpkg or jsDelivr like so: https://unpkg.com/@patternslib/patternslib@9.8.0-alpha.2/dist/bundle.min.js or https://cdn.jsdelivr.net/npm/@patternslib/patternslib@9.8.0-alpha.2/dist/bundle.min.js
1 parent fbbf8f1 commit 544b589

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.npmignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
*.css.map
2+
*.log
3+
*.map
4+
*.swo
5+
*.swp
6+
*~
7+
.DS_Store
8+
.bundle
9+
.env
10+
.sass-cache
11+
/paternslib.sublime-project
12+
/paternslib.sublime-workspace
13+
/stamp-yarn
14+
Gemfile.lock
15+
cache/
16+
coverage/
17+
node_modules/
18+
src/pat/**/*.css
19+
stats.html
20+
stats.json
21+
test-reports
22+
webpack/cache/

0 commit comments

Comments
 (0)