mirror of
https://github.com/filecoin-project/slate.git
synced 2025-01-03 14:49:25 +03:00
cleanup: updates some loose ends in rollup and StatCard
This commit is contained in:
parent
317e6eaad6
commit
359c07e9cf
@ -4,7 +4,7 @@ import * as React from "react";
|
||||
import * as Constants from "~/common/constants";
|
||||
import * as Strings from "~/common/strings";
|
||||
|
||||
import { css } from "@emotion/react";
|
||||
import { css } from "@emotion/core";
|
||||
import { LineChart } from "~/vendor/react-chartkick";
|
||||
import "chart.js";
|
||||
|
||||
|
@ -13,7 +13,7 @@ const generateOutput = (outputPath) => {
|
||||
file: outputPath,
|
||||
format: "cjs",
|
||||
},
|
||||
external: ["@emotion/react", "react", "react-dom"],
|
||||
external: ["react", "react-dom"],
|
||||
plugins: [
|
||||
json({ exclude: ["node_modules/**"], compact: true }),
|
||||
babel({
|
||||
@ -45,4 +45,7 @@ const generateOutput = (outputPath) => {
|
||||
};
|
||||
};
|
||||
|
||||
export default [generateOutput("dist/index.js"), generateOutput("../slate-react-system/src/index.js")];
|
||||
export default [
|
||||
generateOutput("dist/index.js"),
|
||||
generateOutput("../slate-react-system/src/index.js"),
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user