Skip to content

Commit 75216ab

Browse files
committed
Add compile css.
1 parent 4a4fdf2 commit 75216ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "cjs/index.js",
66
"module": "esm/index.js",
77
"files": [
8-
"lib/",
8+
"cjs/",
99
"esm/",
1010
"esnext/"
1111
],
@@ -21,7 +21,8 @@
2121
"build:umd": "BABEL_ENV=umd babel ./src --out-dir umd --extensions \"*.ts,.tsx\" --source-maps true --delete-dir-on-start --verbose",
2222
"dev": "npm run build:cjs -- --watch & npm run build:watch:esm -- --watch & npm run build:umd -- --watch",
2323
"compile:esnext": "tsc -p ./src -t esnext --outDir esnext",
24-
"compile:css": "compile-less -d src --combine dist/markdown-editor.css",
24+
"compile:dist:css": "compile-less -d src --combine dist/markdown-editor.css",
25+
"compile:css": "compile-less -d src -o esm",
2526
"doc": "BABEL_ENV=cjs npm run doc:dev",
2627
"doc:dev": "NODE_ENV=development parcel website/index.html --out-dir doc --no-cache",
2728
"doc:build": "rimraf doc && NODE_ENV=production parcel build website/index.html --out-dir doc --public-url ./ --no-cache --no-source-maps"

0 commit comments

Comments
 (0)