mirror of
https://github.com/iconify/iconify.git
synced 2024-11-09 23:00:56 +00:00
Fix main entry in library builder
This commit is contained in:
parent
ee240278fa
commit
3863a7e2fa
@ -2,7 +2,7 @@
|
||||
"name": "@iconify/library-builder",
|
||||
"description": "Build script to compile TypeScript files to both ES and CommonJS modules.",
|
||||
"author": "Vjacheslav Trushkin",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"license": "MIT",
|
||||
"bugs": "https://github.com/iconify/iconify/issues",
|
||||
"homepage": "https://iconify.design/",
|
||||
|
@ -29,7 +29,7 @@ export async function updatePackageJSON(
|
||||
'./*': './*',
|
||||
};
|
||||
if (packageData.main && packageData.module) {
|
||||
data['./'] = {
|
||||
data['.'] = {
|
||||
require: formatExport(packageData.main),
|
||||
import: formatExport(packageData.module),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user