mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
chore(build): update build dest
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run copy.vendor && stencil build --prod",
|
"build": "npm run copy.vendor && stencil build --prod",
|
||||||
"dev": "npm run copy.vendor && stencil build --watch --debug",
|
"dev": "npm run copy.vendor && stencil build --watch --debug",
|
||||||
"copy.vendor": "mkdir -p ./collection/vendor && cp -Rf ./src/vendor ./collection",
|
"copy.vendor": "mkdir -p ./dist/collection/vendor && cp -Rf ./src/vendor ./dist/collection",
|
||||||
"link.stencil": "npm link @stencil/core",
|
"link.stencil": "npm link @stencil/core",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
exports.config = {
|
exports.config = {
|
||||||
namespace: 'Ionic',
|
namespace: 'Ionic',
|
||||||
|
buildDest: 'dist',
|
||||||
generateCollection: true,
|
generateCollection: true,
|
||||||
bundles: [
|
bundles: [
|
||||||
{ components: ['ion-app', 'ion-content', 'ion-footer', 'ion-header', 'ion-navbar', 'ion-page', 'ion-title', 'ion-toolbar'] },
|
{ components: ['ion-app', 'ion-content', 'ion-footer', 'ion-header', 'ion-navbar', 'ion-page', 'ion-title', 'ion-toolbar'] },
|
||||||
@ -17,5 +18,5 @@ exports.config = {
|
|||||||
{ components: ['ion-spinner'] },
|
{ components: ['ion-spinner'] },
|
||||||
{ components: ['ion-toggle'] }
|
{ components: ['ion-toggle'] }
|
||||||
],
|
],
|
||||||
preamble: '(C) Ionic Vanilla https://ionicframework.com - MIT License'
|
preamble: '(C) Ionic http://ionicframework.com - MIT License'
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user