mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): updates to allow fiber demo to work.
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
"description": "Hacker News PWA demo of Stencil app using Ionic components",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "stencil build",
|
||||
"build": "npm run clean && stencil build",
|
||||
"clean": "rm -Rf ./dist/*",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
@@ -2,20 +2,6 @@ exports.config = {
|
||||
src: 'src',
|
||||
dest: 'dist',
|
||||
bundles: [
|
||||
{ components: ['ion-app', 'ion-content', 'ion-footer', 'ion-header', 'ion-navbar', 'ion-page', 'ion-title', 'ion-toolbar'] },
|
||||
{ components: ['ion-avatar', 'ion-thumbnail'] },
|
||||
{ components: ['ion-badge'] },
|
||||
{ components: ['ion-button', 'ion-buttons', 'ion-icon'] },
|
||||
{ components: ['ion-card', 'ion-card-content', 'ion-card-header', 'ion-card-title'] },
|
||||
{ components: ['ion-gesture', 'ion-scroll'], priority: 'low' },
|
||||
{ components: ['ion-item', 'ion-item-divider', 'ion-label', 'ion-list', 'ion-list-header', 'ion-skeleton-text'] },
|
||||
{ components: ['ion-loading', 'ion-loading-controller'] },
|
||||
{ components: ['ion-menu'], priority: 'low' },
|
||||
{ components: ['ion-modal', 'ion-modal-controller'] },
|
||||
{ components: ['ion-slides', 'ion-slide'] },
|
||||
{ components: ['ion-spinner'] },
|
||||
{ components: ['ion-toggle'] },
|
||||
{ components: ['fiber-demo', 'fiber-triangle', 'fiber-dot'] },
|
||||
{ components: ['news-list', 'news-container', 'comments-page', 'comments-list'] }
|
||||
{ components: ['fiber-demo', 'fiber-triangle', 'fiber-dot'] }
|
||||
]
|
||||
};
|
||||
|
||||
@@ -4,7 +4,9 @@
|
||||
"description": "Base components for Ionic",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build": "stencil build",
|
||||
"build": "npm run clean && npm run copy.vendor && stencil build",
|
||||
"clean": "rm -Rf ./dist/*",
|
||||
"copy.vendor": "mkdir -p ./dist/vendor && cp -Rf ./src/vendor ./dist",
|
||||
"test": "jest"
|
||||
},
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user