remove need for globals

This commit is contained in:
Dexter 2021-12-16 12:37:30 +00:00
parent dcc4ccc5ed
commit 3c1af71233

View File

@ -6,7 +6,6 @@ import postcss from "rollup-plugin-postcss";
import { terser } from "rollup-plugin-terser"; import { terser } from "rollup-plugin-terser";
import * as meta from "./package.json"; import * as meta from "./package.json";
console.log(meta);
const extensions = [".js", ".jsx", ".ts", ".tsx"]; const extensions = [".js", ".jsx", ".ts", ".tsx"];
@ -60,7 +59,6 @@ const config = {
{ {
file: meta.main, file: meta.main,
format: "cjs", format: "cjs",
globals,
plugins: [ plugins: [
getBabelOutputPlugin({ getBabelOutputPlugin({
presets: ["@babel/preset-env"], presets: ["@babel/preset-env"],