From b0949144d3da9211761f4a4302a4610dfb666980 Mon Sep 17 00:00:00 2001 From: moklick Date: Tue, 8 Oct 2019 21:13:26 +0200 Subject: [PATCH] refactor(pkg): remove root --- package.json | 1 - rollup.config.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index b4c77e6a..4608e9c7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,6 @@ { "name": "react-flow", "version": "1.0.0", - "root": "dist", "browser": "dist/ReactFlow.min.js", "main": "dist/ReactFlow.min.js", "private": true, diff --git a/rollup.config.js b/rollup.config.js index 3984d4f1..079747f5 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -35,7 +35,7 @@ const plugins = [ export default [{ input: 'src/index.js', - external: external, + external, onwarn, output: { name: 'ReactFlow',