mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-09 05:06:53 -06:00
Exclude stories for webpack typescript validation.
This commit is contained in:
parent
5b4756f46b
commit
c9f5327284
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@aleleba/create-react-component-library",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "A starter kit for create a React component Library with storybook",
|
||||
"bin": "./bin/cli.js",
|
||||
"main": "dist/index.js",
|
||||
|
@ -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)$/,
|
||||
|
Loading…
Reference in New Issue
Block a user