Skip to content

Commit 04bf99f

Browse files
committed
fix: add CSS sourcemap
1 parent e36a610 commit 04bf99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"prebuild:dist": "rimraf dist/**",
2121
"build:dist": "npm run build:postcss && npm run build:microbundle",
2222
"build:microbundle": "NODE_ENV=production microbundle --define process.env.NODE_ENV=production --tsconfig tsconfig.microbundle.json -f cjs,es,modern --css-modules false --jsx React.createElement --jsxFragment React.Fragment",
23-
"build:postcss": "postcss -d dist --no-map src/style.css",
23+
"build:postcss": "postcss -d dist src/style.css",
2424
"dev": "next",
2525
"lint": "eslint . --ext ts,tsx,js,jsx --max-warnings 0 && tsc",
2626
"prepublishOnly": "npm run build:dist",

0 commit comments

Comments
 (0)