From 75657e87a24ee0e0f3f309d82280c3f51e819295 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Tue, 23 Apr 2019 09:53:30 -0400 Subject: [PATCH] Update rollup-plugin-node-resolve `mainFields` option Eliminates warnings about the deprecated options --- build_src.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_src.js b/build_src.js index 2614e6b4d..3a673c881 100644 --- a/build_src.js +++ b/build_src.js @@ -38,8 +38,7 @@ module.exports = function buildSrc() { } }), nodeResolve({ - module: true, - main: true, + mainFields: ['module', 'main'], browser: false }), commonjs(),