refactor(packages): change package structure
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@reactflow/eslint-config",
|
||||
"name": "@xyflow/eslint-config",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@reactflow/rollup-config",
|
||||
"name": "@xyflow/rollup-config",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"license": "MIT",
|
||||
|
||||
@@ -41,10 +41,14 @@ export const esmConfig = defineConfig({
|
||||
],
|
||||
});
|
||||
|
||||
const globals = {
|
||||
const reactGlobals = {
|
||||
react: 'React',
|
||||
'react-dom': 'ReactDOM',
|
||||
'react/jsx-runtime': 'jsxRuntime',
|
||||
};
|
||||
|
||||
const globals = {
|
||||
...(pkg.rollup?.vanilla ? {} : reactGlobals),
|
||||
...(pkg.rollup?.globals || {}),
|
||||
};
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@reactflow/tsconfig",
|
||||
"name": "@xyflow/tsconfig",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"license": "MIT"
|
||||
|
||||
Reference in New Issue
Block a user