Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Omit example imgs & docs.scss from prod bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Aug 2, 2021
1 parent 8adb1fe commit f71aa29
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/webpack.system.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const webpackConfig = merge(baseWebpackConfig, {
from: path.resolve(__dirname, "../src/assets"),
to: config.system.assetsSubDirectory,
globOptions: {
ignore: [".*"],
ignore: [".*", "**/docs.scss", "**/examples/**"],
},
},
{
Expand Down
30 changes: 30 additions & 0 deletions changelog/unreleased/change-drop-deprecated-components
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,34 @@ Change: Remove deprecated components
To focus on the quality of the currently relevant components and to reduce bundle size,
we are dropping a bunch of deprecated components from our design system.

List of removed components, for reference:

- OcActionDrop.spec.js
- OcActionDrop.vue
- OcAppLayout.vue
- OcAutocomplete.spec.js
- OcAutocomplete.vue
- OcDatepicker.vue
- OcDisclosureDrop.vue
- OcNav.spec.js
- OcNav.vue
- OcNavItem.spec.js
- OcNavItem.vue
- OcNavbar.spec.js
- OcNavbar.vue
- OcNavbarItem.spec.js
- OcTabItem.vue
- OcTabbed.vue
- OcTabbedPanel.vue
- OcTabbedTab.vue
- OcTabs.vue
- OcTopBar.vue
- OcUser.spec.js
- OcUser.vue
- _OcNavbarItem.vue
- _OcSidebarNavDivider.vue
- _OcSidebarNavHeader.vue
- _OcTopBarItem.vue
- _OcTopBarLogo.vue

https://github.com/owncloud/owncloud-design-system/pull/1545
7 changes: 7 additions & 0 deletions changelog/unreleased/change-production-bundle-content
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Change: Production Bundle Content

In the past, we shipped the docs `.scss` file and
some example images which now have been removed
from the production bundle to reduce size.

https://github.com/owncloud/owncloud-design-system/pull/1553

0 comments on commit f71aa29

Please sign in to comment.