1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-31 10:51:44 +02:00

Bugfix/fix bundles (#3673)

* fix index.js main bundles to be commonjs instead of modules

* Change rm -rf to rimraf to be cross os compatible

* add rimraf as  dependency

Co-authored-by: damareyoh <chackerman@wsu.edu>
This commit is contained in:
Cameron Ackerman
2020-05-11 10:18:00 -07:00
committed by GitHub
parent 08f7ef588c
commit 07c375f82e
3 changed files with 36 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
"build": "yarn build:rollup && yarn build:next",
"build:next": "cd ./site && next build && next export",
"build:rollup": "rollup --config ./config/rollup/rollup.config.js",
"clean": "rm -rf ./node_modules ./packages/*/{dist,lib,node_modules} ./site/{.next,out}",
"clean": "rimraf ./node_modules ./packages/*/{dist,lib,node_modules} ./site/{.next,out}",
"fix": "yarn fix:prettier && yarn fix:eslint",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "yarn lint:prettier --write",
@@ -69,6 +69,7 @@
"react-error-boundary": "^1.2.5",
"react-router-dom": "^5.1.2",
"react-values": "^0.3.0",
"rimraf": "^3.0.2",
"rollup": "^1.27.5",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",