mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-07-21 03:58:17 -06:00
PR-342468: miss the Typescript building test validation.
This commit is contained in:
@ -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