build-plugin-cone-analyse
v0.1.18
Published
plugin for Cone
Downloads
38
Readme
如何发布
npm run pub
Intro
Cone plugin analyse (Build plugin for Cone).
Kits
export some useful kits e.g. webpack plugin.
ConeDoctorNoticeWebpackPlugin
ConeAnalyseWebpackPlugin
rootDir
path and a log
function is necessary.
{
plugins: [
new ConeAnalyseWebpackPlugin(
{
rootDir: __dirname,
log: {
info(..args) {
console.info(...args);
},
error(..args) {
console.error(...args);
},
warn(..args) {
console.warn(...args);
},
}
}
)
]
}