Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/js
README.md
index.js
package.json

README.md

Perspective Webpack Plugin

In order to use Perspective via webpack, you'll need this plugin. The plugin takes care of:

  • Copying the Web Worker engine assets to your output directory.
  • Handling cross-origin loading of the Web Worker assets.
  • Packaging the LESS and HTML assets for the perspective-viewer webpack plugin.

Example:

const PerspectivePlugin = require("@finos/perspective-webpack-plugin");

module.exports = {
    entry: "./in.js",
    output: {
        filename: "out.js",
        path: "build"
    },
    plugins: [new PerspectivePlugin()]
};
You can’t perform that action at this time.