mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-01-09 21:26:58 -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",
|
"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",
|
"description": "A starter kit for create a React component Library with storybook",
|
||||||
"bin": "./bin/cli.js",
|
"bin": "./bin/cli.js",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -45,8 +45,10 @@ export default {
|
|||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.(tsx|ts)$/, loader: "ts-loader",
|
test: /\.(tsx|ts)$/,
|
||||||
exclude: /node_modules/
|
loader: "ts-loader",
|
||||||
|
exclude: /node_modules/,
|
||||||
|
options: { reportFiles: ['src/**/*.{ts,tsx}', '!src/**/*.stories.{ts,tsx}'] }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(js|jsx|ts|tsx)$/,
|
test: /\.(js|jsx|ts|tsx)$/,
|
||||||
|
Loading…
Reference in New Issue
Block a user