remove need for globals
This commit is contained in:
parent
dcc4ccc5ed
commit
3c1af71233
@ -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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user