chore(preconstruct): inline css via babel config, add themes package
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "@react-flow/themes",
|
||||
"version": "11.0.0",
|
||||
"description": "Themes for React Flow",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"build": "yarn build:darktheme && yarn build:lighttheme",
|
||||
"build:darktheme": "mkdir -p ./dark/dist && cp ./src/react-flow-dark.css ./dark/dist/react-flow-dark.css",
|
||||
"build:lighttheme": "mkdir -p ./light/dist && cp ./src/react-flow-light.css ./dark/dist/react-flow-light.css"
|
||||
},
|
||||
"preconstruct": {
|
||||
"entrypoints": [
|
||||
"dark.js",
|
||||
"light.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user