I would like to be able to use rollup.config.ts. Same way it's used by
rollup and vite teams too.
## Current Behavior
Currently nx plugin does not reconize project containing
rollup.config.ts. It expects only {c|m}js files
## Expected Behavior
When project has rollup.config.ts rollup plugin infers build target
automatically. This build target should be able to find the
rollup.config.ts. For that purpose a special [configPlugin
](https://rollupjs.org/command-line-interface/#configplugin-plugin)CLI
parameter should be used
## Related Issue(s)
Feature request [#28226](https://github.com/nrwl/nx/discussions/28226)
---------
Co-authored-by: Colum Ferry <cferry09@gmail.com>
54 lines
1.4 KiB
JSON
54 lines
1.4 KiB
JSON
{
|
|
"name": "@nx/rollup",
|
|
"version": "0.0.1",
|
|
"private": false,
|
|
"description": "The Nx Plugin for Rollup contains executors and generators that support building applications using Rollup.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nrwl/nx.git",
|
|
"directory": "packages/rollup"
|
|
},
|
|
"keywords": [
|
|
"Monorepo",
|
|
"Rollup",
|
|
"Web",
|
|
"CLI"
|
|
],
|
|
"main": "./index",
|
|
"typings": "./index.d.ts",
|
|
"author": "Victor Savkin",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/nrwl/nx/issues"
|
|
},
|
|
"homepage": "https://nx.dev",
|
|
"generators": "./generators.json",
|
|
"executors": "./executors.json",
|
|
"ng-update": {
|
|
"requirements": {},
|
|
"migrations": "./migrations.json"
|
|
},
|
|
"dependencies": {
|
|
"@nx/devkit": "file:../devkit",
|
|
"@nx/js": "file:../js",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-image": "^3.0.3",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-typescript": "^12.1.0",
|
|
"autoprefixer": "^10.4.9",
|
|
"minimatch": "9.0.3",
|
|
"picocolors": "^1.1.0",
|
|
"postcss": "^8.4.38",
|
|
"rollup": "^4.14.0",
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
"rollup-plugin-postcss": "^4.0.2",
|
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|