mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-07-19 11:08:18 -06:00
PR-342468: miss the Typescript building test validation.
This commit is contained in:
@ -43,10 +43,6 @@
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist",
|
||||
"PRNameGenerator.ts",
|
||||
"**/*.test.tsx",
|
||||
"**/*.test.ts",
|
||||
"**/*.cy.tsx",
|
||||
"**/*.cy.ts"
|
||||
"PRNameGenerator.ts"
|
||||
]
|
||||
}
|
||||
|
@ -47,7 +47,17 @@ export default {
|
||||
{
|
||||
test: /\.(ts|tsx)$/,
|
||||
exclude: [/node_modules/, /\.test\.(ts|tsx)$/, /\.cy\.(ts|tsx)$/],
|
||||
use: 'ts-loader',
|
||||
use: {
|
||||
loader: 'ts-loader',
|
||||
options: {
|
||||
onlyCompileBundledFiles: true,
|
||||
compilerOptions: {
|
||||
noEmit: false,
|
||||
declaration: true,
|
||||
declarationDir: './dist/types'
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
test: /\.(js|jsx)$/,
|
||||
|
Reference in New Issue
Block a user