mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
Revert "chore(): fix lint issue"
This reverts commit 93b68561c494a0e6097bc6d35c5169a40f7ca4d0.
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
import { Config } from '@stencil/core';
|
const sass = require('@stencil/sass');
|
||||||
import sass from '@stencil/sass';
|
|
||||||
|
|
||||||
export const config: Config = {
|
exports.config = {
|
||||||
namespace: 'Ionic',
|
namespace: 'Ionic',
|
||||||
bundles: [
|
bundles: [
|
||||||
{ components: ['ion-action-sheet', 'ion-action-sheet-controller'] },
|
{ components: ['ion-action-sheet', 'ion-action-sheet-controller'] },
|
||||||
@ -30,8 +29,8 @@ export const config: Config = {
|
|||||||
{ components: ['ion-note', 'ion-img', 'ion-text'] },
|
{ components: ['ion-note', 'ion-img', 'ion-text'] },
|
||||||
{ components: ['ion-popover', 'ion-popover-controller'] },
|
{ components: ['ion-popover', 'ion-popover-controller'] },
|
||||||
{ components: ['ion-radio', 'ion-radio-group'] },
|
{ components: ['ion-radio', 'ion-radio-group'] },
|
||||||
{ components: ['ion-range', 'ion-range-knob'] },
|
{ components: ['ion-range', 'ion-range-knob']},
|
||||||
{ components: ['ion-refresher', 'ion-refresher-content'] },
|
{ components: ['ion-refresher', 'ion-refresher-content']},
|
||||||
{ components: ['ion-reorder', 'ion-reorder-group'] },
|
{ components: ['ion-reorder', 'ion-reorder-group'] },
|
||||||
{ components: ['ion-ripple-effect'] },
|
{ components: ['ion-ripple-effect'] },
|
||||||
{ components: ['ion-router', 'ion-route', 'ion-route-redirect', 'ion-router-outlet'] },
|
{ components: ['ion-router', 'ion-route', 'ion-route-redirect', 'ion-router-outlet'] },
|
||||||
@ -54,7 +53,8 @@ export const config: Config = {
|
|||||||
type: 'dist'
|
type: 'dist'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'stats'
|
type: 'stats',
|
||||||
|
file: 'stats.json'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
copy: [{ src: '**/*.scss' }],
|
copy: [{ src: '**/*.scss' }],
|
||||||
@ -62,3 +62,8 @@ export const config: Config = {
|
|||||||
globalScript: 'src/global/ionic-global.ts',
|
globalScript: 'src/global/ionic-global.ts',
|
||||||
enableCache: true,
|
enableCache: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
exports.devServer = {
|
||||||
|
root: '.',
|
||||||
|
watchGlob: ['dist/*.*', 'dist/ionic/**/**', 'src/**/*.html']
|
||||||
|
};
|
Reference in New Issue
Block a user