mirror of
https://github.com/iconify/iconify.git
synced 2024-12-12 21:57:50 +00:00
chore: use lib folder + fix customisation modules
This commit is contained in:
parent
e74f332fb9
commit
0a8a0c9a23
@ -1,16 +1,16 @@
|
|||||||
import { defineBuildConfig } from 'unbuild'
|
import { defineBuildConfig } from 'unbuild'
|
||||||
|
|
||||||
export default defineBuildConfig({
|
export default defineBuildConfig({
|
||||||
outDir: './dual-lib',
|
outDir: './lib',
|
||||||
entries: [
|
entries: [
|
||||||
{ input: 'src/colors/types', name: 'colors/types' },
|
{ input: 'src/colors/types', name: 'colors/types' },
|
||||||
{ input: 'src/colors/keywords', name: 'colors/keywords' },
|
{ input: 'src/colors/keywords', name: 'colors/keywords' },
|
||||||
{ input: 'src/colors/index', name: 'colors/index' },
|
{ input: 'src/colors/index', name: 'colors/index' },
|
||||||
{ input: 'src/customisations/bool', name: 'customizations/bool' },
|
{ input: 'src/customisations/bool', name: 'customisations/bool' },
|
||||||
{ input: 'src/customisations/compare', name: 'customizations/compare' },
|
{ input: 'src/customisations/compare', name: 'customisations/compare' },
|
||||||
{ input: 'src/customisations/index', name: 'customizations/index' },
|
{ input: 'src/customisations/index', name: 'customisations/index' },
|
||||||
{ input: 'src/customisations/rotate', name: 'customizations/rotate' },
|
{ input: 'src/customisations/rotate', name: 'customisations/rotate' },
|
||||||
{ input: 'src/customisations/shorthand', name: 'customizations/shorthand' },
|
{ input: 'src/customisations/shorthand', name: 'customisations/shorthand' },
|
||||||
{ input: 'src/icon/index', name: 'icon/index' },
|
{ input: 'src/icon/index', name: 'icon/index' },
|
||||||
{ input: 'src/icon/merge', name: 'icon/merge' },
|
{ input: 'src/icon/merge', name: 'icon/merge' },
|
||||||
{ input: 'src/icon/name', name: 'icon/name' },
|
{ input: 'src/icon/name', name: 'icon/name' },
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "./",
|
"rootDir": "./",
|
||||||
"outDir": "./dual-lib",
|
"outDir": "./lib",
|
||||||
"target": "ES2019",
|
"target": "ES2019",
|
||||||
"module": "ESNext",
|
"module": "ESNext",
|
||||||
"lib": [
|
"lib": [
|
||||||
|
Loading…
Reference in New Issue
Block a user