Skip to content

Commit fff3721

Browse files
committed
[fix] 2 bundle bugs
1 parent 27c1650 commit fff3721

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

‎.npmignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
pnpm-workspace.yaml
12
preview/
23
docs/
34
.*

‎package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-restful-table",
3-
"version": "2.7.0",
3+
"version": "2.7.1",
44
"license": "LGPL-3.0",
55
"author": "shiy2008@gmail.com",
66
"description": "A Pagination Table & Scroll List component suite for CRUD operation, which is based on MobX RESTful & React.",
@@ -114,8 +114,8 @@
114114
"preview": "cd preview/ && rimraf ../.parcel-cache dist/ && parcel --open",
115115
"test": "lint-staged",
116116
"pack-preview": "cd preview/ && rimraf ../.parcel-cache dist/ && parcel build --public-url=. --dist-dir=../docs/preview/",
117-
"pack-dist": "rm -rf dist/ docs/ && parcel build && sed -i 's/^require(\"\\.\\/index\\.css\");//' dist/index.js && rimraf dist/index.js.map",
118-
"fix-esm": "cd dist/esm/ && rm index.css* && sed -i 's/^import\"\\.\\/index\\.css\";//' index.js && rimraf index.js.map",
117+
"pack-dist": "rm -rf dist/ docs/ && parcel build && sed -i 's/require(\"\\.\\/index\\.css\");//' dist/index.js && rimraf dist/index.js.map",
118+
"fix-esm": "cd dist/esm/ && rm index.css* && sed -i 's/import\"\\.\\/index\\.css\";//' index.js && rimraf index.js.map",
119119
"build": "npm run pack-dist && npm run fix-esm && typedoc source/ && npm run pack-preview",
120120
"prepublishOnly": "npm test && npm run build"
121121
}

0 commit comments

Comments
 (0)