mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-07-21 03:58:17 -06:00
Exclude stories for webpack typescript validation.
This commit is contained in:
@ -45,8 +45,10 @@ export default {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(tsx|ts)$/, loader: "ts-loader",
|
||||
exclude: /node_modules/
|
||||
test: /\.(tsx|ts)$/,
|
||||
loader: "ts-loader",
|
||||
exclude: /node_modules/,
|
||||
options: { reportFiles: ['src/**/*.{ts,tsx}', '!src/**/*.stories.{ts,tsx}'] }
|
||||
},
|
||||
{
|
||||
test: /\.(js|jsx|ts|tsx)$/,
|
||||
|
Reference in New Issue
Block a user