npm run pub
Cone plugin analyse (Build plugin for Cone).
export some useful kits e.g. webpack plugin.
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);
},
}
}
)
]
}