mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-02 18:18:35 +09:00
## Description This PR moves the parse-css-value utility that was before part of the builder app to the css-data package. In this package we are adding an initial `parse-css` utility that will take CSS and convert to a format that we can work on within Webstudio. For now it is relatively simple and it supports only CSS classes parsing.
18 lines
519 B
Diff
18 lines
519 B
Diff
diff --git a/package.json b/package.json
|
|
index 934e699f19c6f1a265c1ef29121c6dde92cd25ed..a54e28a44de8e1adcf775be9564c2ad8b15b5c98 100644
|
|
--- a/package.json
|
|
+++ b/package.json
|
|
@@ -18,11 +18,11 @@
|
|
"validation"
|
|
],
|
|
"type": "module",
|
|
- "module": "./lib/index.js",
|
|
+ "module": "./dist/csstree.esm.js",
|
|
"main": "./cjs/index.cjs",
|
|
"exports": {
|
|
".": {
|
|
- "import": "./lib/index.js",
|
|
+ "import": "./dist/csstree.esm.js",
|
|
"require": "./cjs/index.cjs"
|
|
},
|
|
"./dist/*": "./dist/*.js",
|