Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 17, 2022. It is now read-only.

Commit 8cbee69

Browse filesBrowse files
authored
Add exports and homepage fields to package.json (#644)
* Fix logo broken in skypack
1 parent 0a7ee49 commit 8cbee69
Copy full SHA for 8cbee69

File tree

Expand file treeCollapse file tree

2 files changed

+19
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+19
-1
lines changed

‎api-extractor.json

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "../../api-extractor.json",
3+
"mainEntryPointFilePath": "./dist/packages/<unscopedPackageName>/src/index.d.ts",
4+
"dtsRollup": {
5+
"publicTrimmedFilePath": "./dist/<unscopedPackageName>.d.ts"
6+
}
7+
}

‎package.json

Copy file name to clipboardExpand all lines: package.json
+12-1Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,23 @@
2020
"webpack",
2121
"loader"
2222
],
23-
"main": "dist/fluent-vue-loader.cjs.prod.js",
23+
"main": "dist/fluent-vue-loader.cjs.js",
24+
"module": "dist/fluent-vue.esm.js",
25+
"types": "dist/fluent-vue-loader.d.ts",
26+
"exports": {
27+
"import": "./dist/fluent-vue.esm.js",
28+
"require": "./dist/fluent-vue-loader.cjs.js"
29+
},
30+
"files": [
31+
"dist",
32+
"README.md"
33+
],
2434
"author": "Ivan Demchuk <ivan.demchuk@gmail.com>",
2535
"repository": {
2636
"type": "git",
2737
"url": "https://github.com/Demivan/fluent-vue"
2838
},
39+
"homepage": "https://fluent-vue.demivan.me/integrations/webpack.html",
2940
"license": "MIT",
3041
"devDependencies": {
3142
"@types/loader-utils": "^2.0.3",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.