mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00
Update package.json
This commit is contained in:

committed by
acywatson

parent
0ded5c0ee0
commit
ac688018d3
@ -24,5 +24,11 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/facebookexternal/Outline",
|
||||
"directory": "packages/outline-react"
|
||||
},
|
||||
"exports": {
|
||||
"./useOutlineAutoFormatter": "./dist/useOutlineAutoFormatter.js",
|
||||
"./useOutlineEditorEvents": "./dist/useOutlineEditorEvents.js",
|
||||
"./useOutlinePlainText": "./dist/useOutlinePlainText.js",
|
||||
"./useOutlineRichText": "./dist/useOutlineRichText.js"
|
||||
}
|
||||
}
|
||||
|
@ -19,9 +19,6 @@ async function prepareOutlineReactPackage() {
|
||||
await exec(
|
||||
`cp -R ./packages/outline-react/dist ./packages/outline-react/npm`,
|
||||
);
|
||||
await exec(
|
||||
`cp -R ./packages/outline-react/*.js ./packages/outline-react/npm`,
|
||||
);
|
||||
await exec(
|
||||
`cp -R ./packages/outline-react/package.json ./packages/outline-react/npm`,
|
||||
);
|
||||
|
Reference in New Issue
Block a user