Skip to content

Commit

Permalink
fix(plugin): don't ignore lib es folder when publishing, also exp…
Browse files Browse the repository at this point in the history
…ort `es/index.js` ( not ts )
  • Loading branch information
CarterLi authored and Yanyan-Wang committed Jan 27, 2021
1 parent d923571 commit 3cdb2f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions packages/plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ coverage
# Dependency directories
node_modules
**/node_modules
**/lib
**/es
jspm_packages/

# Optional npm cache directory
Expand All @@ -33,10 +31,6 @@ jspm_packages/
# IDE
.idea

# build
lib
build

# lock
package-lock.json

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.6",
"description": "G6 Plugin",
"main": "lib/index.js",
"module": "es/index.ts",
"module": "es/index.js",
"scripts": {
"build": "npm run clean && father build",
"ci": "npm run build && npm run coverage",
Expand Down

0 comments on commit 3cdb2f6

Please sign in to comment.