Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

"One for All" packaging #13

Closed
DrSensor opened this issue Jan 23, 2018 · 0 comments
Closed

"One for All" packaging #13

DrSensor opened this issue Jan 23, 2018 · 0 comments
Assignees

Comments

@DrSensor
Copy link
Owner

DrSensor commented Jan 23, 2018

Package vue component as:

  • umd
  • cjs
  • esm

And publish it to:

  • NPM
  • CDN:
    • unpkg
    • jsdelivr

If this enhancement use bili, then poi might be removed because the original purpose of poi is to bundle vue component as library. This also open the possibility to use official storybook cli and addon without any quirk. And maybe it can solve #1 and able add support publishing to github pages.

In package.json, use fields:
main for cjs
module for es
unpkg and jsdelivr for minified umd until webpack prioritize module over browser.

Support 2 CDN (https://unpkg.com and https://jsdelivr.com) in case one of them is server down.

@DrSensor DrSensor self-assigned this Jan 23, 2018
DrSensor added a commit that referenced this issue Jan 24, 2018
- Relate #2, reason for removing poi
- Relate #1, open possibility to deploy to gh-pages
DrSensor added a commit that referenced this issue Jan 24, 2018
- Relate #2, reason for removing poi
- Relate #1, open possibility to deploy to gh-pages
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant