Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

feat(cdn): introduce dist folder for CDN artifacts #682

Merged
merged 4 commits into from
Aug 13, 2021

Conversation

jeffchew
Copy link
Member

@jeffchew jeffchew commented Aug 12, 2021

Related Ticket(s)

Refs #661

Description

This introduces a new set of build artifacts based on multi-input rollup, which will allow for applications to either manually injects pre-built JS files, or have them hosted on a CDN.

In addition, this also modifies the entire gulp setup so that each task is now separated into its own files for easier management of the build scripts.

New script tasks:

  • gulp build:dist
  • gulp build:dist:dev

Example page using the artifacts:

image

Changelog

New

  • Rollup build of carbon-web-components
  • Example page using dist artifacts

Changed

  • Restructure of gulp tasks

This introduces a new `dist` folder, which includes artifacts that can
be manually included in a project, or hosted on a CDN. Each component
folder has its own artifact that can be used, e.g. accordion.min.js.
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Aug 12, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Aug 12, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Aug 12, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Aug 12, 2021

@jeffchew jeffchew added the Ready to merge Label for the pull requests that are ready to merge label Aug 13, 2021
@kodiakhq kodiakhq bot merged commit 4c12f2e into carbon-design-system:master Aug 13, 2021
@jeffchew jeffchew deleted the feat/cdn branch August 19, 2021 16:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants