-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(types): Enhance typings structure and module compatibility (#5)
These changes significantly improve the organization and maintainability of the types module within the `lsfnd` package. By refactoring type declarations and enabling re-exporting, the package is now compatible with a wider range of TypeScript module settings. Signed-off-by: Ryuu Mitsuki <dhefam31@gmail.com>
- Loading branch information
Showing
6 changed files
with
55 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
const { resolve } = require('node:path'); | ||
const { join } = require('node:path'); | ||
/** @type {import('./types/build.prop').BuildPropConfig} */ | ||
module.exports = { | ||
minify: { | ||
files: [ | ||
'dist/index.js', | ||
'dist/lsfnd.js' | ||
'dist/lsfnd.js', | ||
'dist/lsTypes.js' | ||
] | ||
}, | ||
rootDir: resolve(__dirname), | ||
outDir: resolve('dist'), | ||
tsconfig: 'tsconfig.production.json', | ||
rootDir: __dirname, | ||
outDir: join(__dirname, 'dist'), | ||
tsconfig: 'tsconfig.production.json' | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters