Skip to content

Commit

Permalink
fix: fix dist output path
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Mar 12, 2024
1 parent 0b66213 commit a7fcaa5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 34 deletions.
34 changes: 2 additions & 32 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,32 +1,2 @@
import {
queryBySelector,
queryAllBySelector,
getBySelector,
getAllBySelector,
findAllBySelector,
findBySelector
} from './queries/bySelector'

import {
queryByAttribute,
queryAllByAttribute,
getByAttribute,
getAllByAttribute,
findAllByAttribute,
findByAttribute
} from './queries/byAttribute'

export {
queryBySelector,
queryAllBySelector,
getBySelector,
getAllBySelector,
findAllBySelector,
findBySelector,
queryByAttribute,
queryAllByAttribute,
getByAttribute,
getAllByAttribute,
findAllByAttribute,
findByAttribute
}
export * from './queries/bySelector'
export * from './queries/byAttribute'
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
"compilerOptions": {
/* Basic Options */
"baseUrl": ".",
"rootDir": "src",
"rootDir": ".",
"target": "ESNEXT" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */,
"module": "ESNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
"lib": ["ESNext", "Dom", "Dom.Iterable"] /* Specify library files to be included in the compilation. */,
"outDir": "dist" /* Redirect output structure to the directory. */,
"sourceMap": true,
"declaration": true /* Generates corresponding '.d.ts' file. */,
"declarationDir": "dist/types",
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
Expand Down

0 comments on commit a7fcaa5

Please sign in to comment.