Files
test-repo/scripts/build/rollup.base.config.js
T
Martin V 820e39b2b3 Clean up build script, add Babel for docs js bundles (#1970)
* Clean up build script, add Babel for docs js bundles

* Update package.json
2017-06-07 15:20:48 -07:00

17 lines
289 B
JavaScript

export default {
onwarn: function(warning) {
if (
[
'EVAL',
'MISSING_GLOBAL_NAME',
'MISSING_NODE_BUILTINS',
'UNRESOLVED_IMPORT',
].find(code => code === warning.code)
) {
return;
}
console.warn(warning.message);
},
};