# [Rust]

# Generated by Cargo
# will have compiled files and executables
debug/
target/

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# [Node]

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
trace-*.json

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov
*.profraw

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
!scripts/node_modules/
!tests/webpack-examples/*/node_modules
!tests/webpack-test/*/**/node_modules
!packages/rspack-cli/tests/**/node_modules
!packages/rspack-test-tools/tests/**/node_modules
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt

# Dist files
dist
compiled
webpack-dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# for jetbrains tmp file
.idea
.clion

# os
.DS_Store


# Do not ignore this for binding test
# crates/node_binding/binding.d.ts

.pnpm-store/

!packages/rspack-test-tools/tests/configCases/target
tests/e2e/temp
packages/*/tests/js


# Benchmark
/github/

# profile
profile.json

# esbuild trace
esbuild.trace

# esbuild cpuprofile
esbuild.cpuprofile


# this node_modules is used for tree-shaking snapshot
!packages/rspack-test-tools/tests/treeShakingCases/node_modules

# Binding artifacts
/artifacts/

# Node Addons
npm/**/*.node

# Npm packages. Include packages for local releases.
/npm/*
!npm/darwin-arm64/
!npm/darwin-x64/
!npm/linux-x64-gnu/
!npm/win32-x64-msvc/

# Precompiled config schema
packages/rspack/src/config/schema.check.js

## Angular Incremental Build Cache
**/.angular/
# align to webpack
tests/webpack-test/js
tests/webpack-test/browsertest/js
tests/webpack-test/fixtures/temp-*
tests/webpack-test/temp
tests/webpack-test/ChangesAndRemovals
tests/webpack-test/__snapshots__/*.snap.*
tests/webpack-test/**/dev-defaults.webpack.lock
!tests/webpack-test/**/target
!tests/webpack-test/cases/**/node_modules

tests/plugin-test/css-extract/js
!tests/plugin-test/css-extract/**/node_modules

tests/plugin-test/html-plugin/js

tests/plugin-test/copy-plugin/build

/webpack-examples/**/dist

smoke-example
diff_output

# .swc plugins cache
.swc/

# api-extractor temp folder (https://api-extractor.com/pages/configs/api-extractor_json/#apireportreporttempfolder)
/packages/*/temp

# rspress build output
/website/doc_build

# xcode trace
*.trace