mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
chore(): update stencil
* feat(): upgrade to new stencil and add plugins * chore() add back bundles for cdn * chore(): update stencil * chore(): update stencil
This commit is contained in:
@ -9,10 +9,13 @@
|
||||
"dist/"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@stencil/core": "0.5.2",
|
||||
"@stencil/core": "0.6.0",
|
||||
"@stencil/dev-server": "latest",
|
||||
"@stencil/postcss": "0.0.2",
|
||||
"@stencil/sass": "0.0.2",
|
||||
"@stencil/utils": "latest",
|
||||
"@types/jest": "^21.1.6",
|
||||
"autoprefixer": "^8.0.0",
|
||||
"chai": "^4.1.2",
|
||||
"chromedriver": "^2.33.2",
|
||||
"glob": "^7.1.2",
|
||||
|
2
packages/core/src/components.d.ts
vendored
2
packages/core/src/components.d.ts
vendored
@ -4,8 +4,6 @@
|
||||
* and imports for stencil collections that might be configured in your stencil.config.js file
|
||||
*/
|
||||
|
||||
import 'ionicons';
|
||||
|
||||
import {
|
||||
ActionSheetButton,
|
||||
} from './components/action-sheet/action-sheet';
|
||||
|
@ -1,3 +1,4 @@
|
||||
import 'ionicons';
|
||||
import { createConfigController } from './config-controller';
|
||||
import { PLATFORM_CONFIGS, detectPlatforms } from './platform-configs';
|
||||
import { createDomControllerClient } from './dom-controller';
|
||||
|
@ -1,5 +1,8 @@
|
||||
const sass = require('@stencil/sass');
|
||||
const postcss = require('@stencil/postcss');
|
||||
const autoprefixer = require('autoprefixer');
|
||||
|
||||
exports.config = {
|
||||
enableCache: false,
|
||||
namespace: 'Ionic',
|
||||
generateDistribution: true,
|
||||
generateWWW: false,
|
||||
@ -46,12 +49,24 @@ exports.config = {
|
||||
{ components: ['ion-cordova-platform'] },
|
||||
{ components: ['ion-nav-pop'] },
|
||||
],
|
||||
collections: [
|
||||
'ionicons'
|
||||
],
|
||||
copy: [
|
||||
{ src: '**/*.scss' }
|
||||
plugins: [
|
||||
sass(),
|
||||
postcss({
|
||||
plugins: [
|
||||
autoprefixer({
|
||||
browsers: [
|
||||
'last 2 versions',
|
||||
'iOS >= 8',
|
||||
'Android >= 4.4',
|
||||
'Explorer >= 11',
|
||||
'ExplorerMobile >= 11'
|
||||
],
|
||||
cascade: false
|
||||
})
|
||||
]
|
||||
})
|
||||
],
|
||||
copy: [{ src: '**/*.scss' }],
|
||||
preamble: '(C) Ionic http://ionicframework.com - MIT License',
|
||||
globalScript: 'src/global/ionic-global.ts',
|
||||
buildStats: true
|
||||
|
@ -3,6 +3,7 @@
|
||||
"rules": {
|
||||
"no-conditional-assignment": false,
|
||||
"no-unnecessary-type-assertion": false,
|
||||
"prefer-for-of": false
|
||||
"prefer-for-of": false,
|
||||
"no-import-side-effect": false,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user