chore(postcss): put config in root

This commit is contained in:
moklick
2022-08-08 16:27:07 +02:00
parent 887f040cca
commit b4dd777238
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"url": "https://github.com/wbkd/react-flow.git" "url": "https://github.com/wbkd/react-flow.git"
}, },
"scripts": { "scripts": {
"build": "postcss src/styles/*.css --config ../../tooling/postcss.config.json --dir dist" "build": "postcss src/styles/*.css --config ../../postcss.config.json --dir dist"
}, },
"dependencies": { "dependencies": {
"@babel/runtime": "^7.18.0", "@babel/runtime": "^7.18.0",
+1 -1
View File
@@ -12,7 +12,7 @@
"zustand": "^4.0.0" "zustand": "^4.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^18.1.0", "react": ">=18",
"react-dom": ">=18" "react-dom": ">=18"
} }
} }
+2 -2
View File
@@ -6,7 +6,7 @@
"module": "dist/react-flow-renderer.esm.js", "module": "dist/react-flow-renderer.esm.js",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "postcss src/*.css --config ../../tooling/postcss.config.json --dir dist" "build": "postcss src/*.css --config ../../postcss.config.json --dir dist"
}, },
"dependencies": { "dependencies": {
"@react-flow/background": "11.0.0", "@react-flow/background": "11.0.0",
@@ -15,7 +15,7 @@
"@react-flow/minimap": "11.0.0" "@react-flow/minimap": "11.0.0"
}, },
"peerDependencies": { "peerDependencies": {
"react": "^18.1.0", "react": ">=18",
"react-dom": ">=18" "react-dom": ">=18"
}, },
"devDependencies": { "devDependencies": {