1 | const path = require("path");
|
2 | const common = require("@finos/perspective/src/config/common.config.js");
|
3 |
|
4 | module.exports = common({}, config =>
|
5 | Object.assign(config, {
|
6 | entry: "./dist/esm/viewer.js",
|
7 | externals: [/^[a-z0-9@]/],
|
8 | output: {
|
9 | filename: "perspective-viewer.js",
|
10 | libraryTarget: "umd",
|
11 | path: path.resolve(__dirname, "../../dist/cjs")
|
12 | }
|
13 | })
|
14 | );
|