What are Artifacts

Artifacts are bits of data that letโ€™s us visualize the code bits in your bug captures better. Artifacts are pushed to the Flytrap API when you are building your project.

In a nutshell, artifacts make it so that your bundle is small, while also keeping the visualization of your bugs useful.

Pushing Artifacts

By default, every time you build your code, Artifacts get published to the Flytrap API.

Disabling Artifacts

In case you want to disable the pushing of Artifacts when building your code, you can set the disableArtifacts property in your Flytrap configuration file.

import { defineFlytrapConfig } from 'useflytrap'

export default defineFlytrapConfig({
	disableArtifacts: true; // ๐Ÿ‘ˆ if we don't want to push Artifacts when building our project