You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhishifufei_php/public/pc/plugins/require-css/example/build.js

33 lines
622 B

9 months ago
({
appDir: 'www',
dir: 'www-built',
baseUrl: '.',
fileExclusionRegExp: /(^example)|(.git)|(node_modules)|(bower_components)$/,
//separateCSS: true,
//buildCSS: false,
optimizeCss: "standard",
map: {
'*': {
css: 'require-css/css'
}
},
modules: [
{
name: 'app',
exclude: ['app/core-components'],
},
{
name: 'app/core-components',
create: true,
include: ['components/component'],
exclude: ['require-css/normalize']
},
{
name: 'popup',
exclude: ['app/core-components', 'require-css/normalize']
}
]
//name: 'app.js',
//out: 'app-built.js'
})