You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is a: Question / support request / Feature request
I'm using React-create-component-library and as part of the build process I added --copy-files in the react build step to bring over .scss/.css files. However I also have my .specs files in the /src directory. Is there a way to exclude them? I tried ignoring it using babel-loader but it did not work.
For the time being, you can update your build script to somehow like below:
"build": "nwb build-react-component --copy-files --no-demo && find lib/ -name '*.specs.js' -delete",
@insin , on the same topic, is there currently a way to exclude files from being added to the build? e.g. storybook files or mdx, located in the same folder with the component
This issue is a: Question / support request / Feature request
I'm using React-create-component-library and as part of the build process I added --copy-files in the react build step to bring over .scss/.css files. However I also have my .specs files in the /src directory. Is there a way to exclude them? I tried ignoring it using babel-loader but it did not work.
Perhaps a --ignore files need to be added??
https://babeljs.io/docs/en/babel-cli#ignore-files
`
The text was updated successfully, but these errors were encountered: