From 544b58993af72e02872efcb9564a54af60b64ba8 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Wed, 7 Dec 2022 01:41:32 +0100 Subject: [PATCH] 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 --- .npmignore | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 000000000..767700f4d --- /dev/null +++ b/.npmignore @@ -0,0 +1,22 @@ +*.css.map +*.log +*.map +*.swo +*.swp +*~ +.DS_Store +.bundle +.env +.sass-cache +/paternslib.sublime-project +/paternslib.sublime-workspace +/stamp-yarn +Gemfile.lock +cache/ +coverage/ +node_modules/ +src/pat/**/*.css +stats.html +stats.json +test-reports +webpack/cache/