Skip to content

Commit e3dc576

Browse files
committed
fix: rollup config : copy css file
1 parent a84594d commit e3dc576

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@
3131
},
3232
"scripts": {
3333
"start": "npm run storybook --openssl-legacy-provider",
34-
"build": "npm run build:cjs && npm run build:esm",
34+
"build": "npm run build:cjs && npm run build:esm && npm run copy-files",
3535
"build:cjs": "rollup -c",
3636
"build:esm": "tsc --p tsconfig.lib.json",
37+
"copy-files": "cp -r ./src/styles/ ./lib/esm/",
3738
"test": "react-scripts test",
3839
"eject": "react-scripts eject",
3940
"lint": "eslint \"{src,test,stories}/**/*.{js,ts,tsx}\"",

0 commit comments

Comments
 (0)