blob: 6806c98bd387ab33b9b83a02b3b732288f62424b [file]
import nodeResolve from '@rollup/plugin-node-resolve';
module.exports = {
onwarn: (warning) => {
// Always fail on warnings, assuming we don't know which are harmless.
// We can add exclusions here based on warning.code, if we discover some
// types of warning should always be ignored under bazel.
throw new Error(warning.message);
},
plugins: [
nodeResolve(),
],
};