加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ionic.config.js 1.22 KB
一键复制 编辑 原始数据 按行查看 历史
mathfan 提交于 2016-07-06 17:47 . first commit
module.exports = {
proxies: null,
paths: {
html : {
src: ['app/**/*.html'],
dest: "www/build"
},
sass: {
src: ['app/theme/app.+(ios|md|wp).scss'],
dest: 'www/build/css',
include: [
'node_modules/ionic-angular',
'node_modules/ionicons/dist/scss'
]
},
fonts: {
src: ['node_modules/ionic-angular/fonts/**/*.+(ttf|woff|woff2)'],
dest: "www/build/fonts"
},
watch: {
sass: ['app/**/*.scss'],
html: ['app/**/*.html'],
livereload: [
'www/build/**/*.html',
'www/build/**/*.js',
'www/build/**/*.css'
]
}
},
autoPrefixerOptions: {
browsers: [
'last 2 versions',
'iOS >= 7',
'Android >= 4',
'Explorer >= 10',
'ExplorerMobile >= 11'
],
cascade: false
},
// hooks execute before or after all project-related Ionic commands
// (so not for start, docs, but serve, run, etc.) and take in the arguments
// passed to the command as a parameter
//
// The format is 'before' or 'after' + commandName (uppercased)
// ex: beforeServe, afterRun, beforePrepare, etc.
hooks: {
beforeServe: function(argv) {
//console.log('beforeServe');
}
}
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化