UNPKG

@sentre/react-dynamic-remote-component

Version:

Allows you to dynamically load a component from a remote using webpack 5's module federation.

52 lines (51 loc) 1.61 kB
{ "name": "@sentre/react-dynamic-remote-component", "version": "0.0.8", "description": "Allows you to dynamically load a component from a remote using webpack 5's module federation.", "keywords": [ "react", "webpack 5", "module federation", "module-federation", "modulefederation", "dynamic remote", "dynamic", "remote component" ], "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "scripts": { "build": "rollup -c && tsc --noEmit false --emitDeclarationOnly", "test": "echo \"Error: no test specified\" && exit 1" }, "types": "./dist/types/index.d.ts", "author": "hasanayan", "license": "MIT", "devDependencies": { "@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-transform-classes": "^7.15.4", "@babel/plugin-transform-runtime": "^7.15.0", "@babel/preset-typescript": "^7.15.0", "@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.5", "@types/react": "^17.0.26", "@types/react-dom": "^17.0.9", "path": "^0.12.7", "react": "^17.0.2", "react-dom": "^17.0.2", "rollup": "^2.58.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-delete": "^2.0.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-terser": "^7.0.2", "typescript": "^4.4.3", "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.6", "@babel/preset-react": "^7.14.5" }, "dependencies": { "@babel/runtime": "^7.15.4" } }