diff --git a/package.json b/package.json index 0c73f8f3bfe65fe4c0a6a1a25026fb1e5b0ba8f9..26d0bf751f3ef98b6aea71fb14c38622161bfbb7 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,7 @@ "rollup-plugin-peer-deps-external": "^2.2.2", "rollup-plugin-postcss": "^2.5.0", "rollup-plugin-terser": "^5.3.0", - "@rollup/plugin-commonjs": "^11.0.2", - "@rollup/plugin-node-resolve": "^7.1.1", - "@rollup/plugin-url": "^4.0.2" + "@rollup/plugin-commonjs": "^11.0.2" }, "resolutions": { "styled-components": "4.2.0", diff --git a/wax-prosemirror-components/rollup.config.js b/wax-prosemirror-components/rollup.config.js index 642c08508ab2e030c466219a202ce2848fed8e00..bfdfebdd95ecf4267cef09493cfde21340825173 100644 --- a/wax-prosemirror-components/rollup.config.js +++ b/wax-prosemirror-components/rollup.config.js @@ -2,8 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; -import url from "@rollup/plugin-url"; import { terser } from "rollup-plugin-terser"; export default { @@ -24,8 +22,6 @@ export default { external({ includeDependencies: true }), - url(), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], @@ -41,5 +37,6 @@ export default { }), commonjs(), terser() - ] + ], + external: ["wax-prosemirror-themes", "wax-prosemirror-core", "inversify"] }; diff --git a/wax-prosemirror-core/rollup.config.js b/wax-prosemirror-core/rollup.config.js index 5180ef8a1166388eaccb3a8681f2207a195ccdd1..908c215327cff7c2bcb55a174e69c2091b667fb8 100644 --- a/wax-prosemirror-core/rollup.config.js +++ b/wax-prosemirror-core/rollup.config.js @@ -2,7 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; import { terser } from "rollup-plugin-terser"; export default { @@ -23,7 +22,6 @@ export default { external({ includeDependencies: true }), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], @@ -46,6 +44,9 @@ export default { "uuid", "prop-types", "prosemirror-tables", - "wax-prosemirror-schema" + "wax-prosemirror-services", + "wax-prosemirror-schema", + "wax-prosemirror-themes", + "wax-prosemirror-layouts" ] }; diff --git a/wax-prosemirror-layouts/rollup.config.js b/wax-prosemirror-layouts/rollup.config.js index ae5c52fc0853d8da47362581a9f50df3f4795d8f..e82c070a1626475891b7ca685653dc9e62de8bee 100644 --- a/wax-prosemirror-layouts/rollup.config.js +++ b/wax-prosemirror-layouts/rollup.config.js @@ -2,8 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; -import url from "@rollup/plugin-url"; import { terser } from "rollup-plugin-terser"; export default { @@ -24,8 +22,6 @@ export default { external({ includeDependencies: true }), - url(), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], @@ -50,6 +46,9 @@ export default { "lodash", "react-is", "uuid", - "wax-prosemirror-schema" + "wax-prosemirror-schema", + "wax-prosemirror-core", + "wax-prosemirror-themes", + "wax-prosemirror-components" ] }; diff --git a/wax-prosemirror-plugins/rollup.config.js b/wax-prosemirror-plugins/rollup.config.js index 642c08508ab2e030c466219a202ce2848fed8e00..a25cbc39e161eab718bf42e3f2cbde7afb3f2667 100644 --- a/wax-prosemirror-plugins/rollup.config.js +++ b/wax-prosemirror-plugins/rollup.config.js @@ -2,8 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; -import url from "@rollup/plugin-url"; import { terser } from "rollup-plugin-terser"; export default { @@ -24,8 +22,6 @@ export default { external({ includeDependencies: true }), - url(), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], diff --git a/wax-prosemirror-schema/rollup.config.js b/wax-prosemirror-schema/rollup.config.js index 09fcf43a85a1298aee3566459cdc61b13b57a134..3fb2ea5f164089948000506d20f8334311f613f2 100644 --- a/wax-prosemirror-schema/rollup.config.js +++ b/wax-prosemirror-schema/rollup.config.js @@ -2,8 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; -import url from "@rollup/plugin-url"; import { terser } from "rollup-plugin-terser"; export default { @@ -24,8 +22,6 @@ export default { external({ includeDependencies: true }), - url(), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], diff --git a/wax-prosemirror-services/rollup.config.js b/wax-prosemirror-services/rollup.config.js index 8551d0e30f6a985426cad70a3756bca519f705fd..21ba2c5dc8e1b07fd34a8d9e0b4e3991a0874262 100644 --- a/wax-prosemirror-services/rollup.config.js +++ b/wax-prosemirror-services/rollup.config.js @@ -2,7 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; import { terser } from "rollup-plugin-terser"; export default { @@ -23,7 +22,6 @@ export default { external({ includeDependencies: true }), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], @@ -40,5 +38,12 @@ export default { commonjs(), terser() ], - external: ["uuid", "react", "react-dom", "wax-prosemirror-schema", "lodash"] + external: [ + "uuid", + "react", + "react-dom", + "wax-prosemirror-schema", + "lodash", + "prosemirror-tables" + ] }; diff --git a/wax-prosemirror-themes/rollup.config.js b/wax-prosemirror-themes/rollup.config.js index 57c69e1347723bc32344ea645a783be4b686eb3d..853ae3605f12dc553e998c90d9d90d87954506c1 100644 --- a/wax-prosemirror-themes/rollup.config.js +++ b/wax-prosemirror-themes/rollup.config.js @@ -2,8 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; -import url from "@rollup/plugin-url"; import { terser } from "rollup-plugin-terser"; export default { @@ -24,8 +22,6 @@ export default { external({ includeDependencies: true }), - url(), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }], diff --git a/wax-prosemirror-utilities/rollup.config.js b/wax-prosemirror-utilities/rollup.config.js index 09fcf43a85a1298aee3566459cdc61b13b57a134..3fb2ea5f164089948000506d20f8334311f613f2 100644 --- a/wax-prosemirror-utilities/rollup.config.js +++ b/wax-prosemirror-utilities/rollup.config.js @@ -2,8 +2,6 @@ import babel from "rollup-plugin-babel"; import commonjs from "@rollup/plugin-commonjs"; import external from "rollup-plugin-peer-deps-external"; import postcss from "rollup-plugin-postcss"; -import resolve from "@rollup/plugin-node-resolve"; -import url from "@rollup/plugin-url"; import { terser } from "rollup-plugin-terser"; export default { @@ -24,8 +22,6 @@ export default { external({ includeDependencies: true }), - url(), - resolve(), babel({ presets: [ [require("@babel/preset-env"), { modules: false }],