Skip to content

Commit 0a7a121

Browse files
committed
improvements & export missing Type
1 parent c883937 commit 0a7a121

7 files changed

Lines changed: 34 additions & 23 deletions

File tree

File renamed without changes.

package-lock.json

Lines changed: 28 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
"eslint-plugin-promise": "^7.2.1",
102102
"get-random-values": "^4.0.0",
103103
"globals": "^16.3.0",
104-
"html-webpack-plugin": "^5.6.3",
105104
"husky": "^9.1.7",
106105
"isomorphic-fetch": "^3.0.0",
107106
"jest": "^30.0.5",

src/convert.sed

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,3 +136,5 @@ export {
136136
initHeader,
137137
initFooter
138138
}
139+
// uses in solid-panes
140+
export type { CreateContext, NewAppInstanceOptions } from './create/types'

tsconfig.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
// "typeRoots": [], /* List of folders to include type definitions from. */
5959
"typeRoots": [
6060
"node_modules/@types",
61-
"node_modules/@testing-library"
61+
"node_modules/@testing-library",
62+
"declarations.d.ts"
6263
] /* List of folders to include type definitions from. */,
6364
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
6465
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
@@ -75,7 +76,8 @@
7576
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
7677
},
7778
"include": [
78-
"src/**/*"
79+
"src/**/*",
80+
"declarations.d.ts"
7981
],
8082
"exclude": ["node_modules", "dist"]
8183
}

webpack.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import path from 'path'
2-
import HtmlWebpackPlugin from 'html-webpack-plugin'
32
import TerserPlugin from 'terser-webpack-plugin'
43

54
const externalsBase = {
@@ -35,9 +34,6 @@ const common = {
3534
iife: true,
3635
clean: false
3736
},
38-
plugins: [
39-
new HtmlWebpackPlugin()
40-
],
4137
resolve: {
4238
extensions: ['.ts', '.js'],
4339
fallback: { path: false }

0 commit comments

Comments
 (0)