only include `webview-dist` files in npm bundle

pull/85/head
Jonas Kruckenberg 4 years ago
parent 7040db8187
commit de845038d5
No known key found for this signature in database
GPG Key ID: 21AD3B3C266BDE3D

@ -9,6 +9,9 @@
"main": "webview-dist/index.js", "main": "webview-dist/index.js",
"types": "webview-dist/index.d.ts", "types": "webview-dist/index.d.ts",
"private": "true", "private": "true",
"files": [
"webview-dist"
],
"scripts": { "scripts": {
"build": "rollup -c ./webview-src/rollup.config.js", "build": "rollup -c ./webview-src/rollup.config.js",
"prepublishOnly": "yarn build", "prepublishOnly": "yarn build",

Loading…
Cancel
Save