v8/tools/turbolizer/rollup.config.js
Sigurd Schneider b8e3793a8e [turbolizer] Treeshake d3 library
Bug: v8:7327
Change-Id: I96fa8f6c2dbc9fb3da0be9a8b8d730cc1d1e3415
Reviewed-on: https://chromium-review.googlesource.com/1131456
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54452}
2018-07-16 08:45:20 +00:00

14 lines
427 B
JavaScript

// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import typescript from 'rollup-plugin-typescript2';
import node from 'rollup-plugin-node-resolve';
export default {
entry: "src/turbo-visualizer.ts",
format: "iife",
plugins: [node(), typescript({abortOnError:false})],
dest: "build/turbolizer.js"
};