Files
webstudio/patches/css-tree@2.3.1.patch
T
Giuseppe 6a9c4c013c Initial CSS parser (#1652)
## 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.
2023-05-23 09:47:13 +02:00

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",