From 8b1ab3899211074277300cd54a288ea71888b8cf Mon Sep 17 00:00:00 2001 From: ctapang Date: Wed, 6 Dec 2023 18:30:42 -0800 Subject: [PATCH] Output css file --- package.json | 4 ++-- rollup.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f89d616..d1a3808 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,8 @@ "@sendroks:registry": "https://registry.npmjs.org" }, "peerDependencies": { - "react": ">=17.0.0", - "react-dom": ">=17.0.0" + "react": ">=18.2.0", + "react-dom": ">=18.2.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^24.0.1", diff --git a/rollup.config.js b/rollup.config.js index 2ea8542..6de34b8 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -28,7 +28,7 @@ module.exports = [ commonjs(), typescript({ tsconfig: './tsconfig.json' }), terser(), - css({ minify: true }) + css({ minify: true, output: "index.css" }) ], external: ['react', 'react-dom'] },