diff --git a/.gitignore b/.gitignore index 8df275a..aedbaee 100644 --- a/.gitignore +++ b/.gitignore @@ -108,8 +108,8 @@ dist/ logs *.log -# Interview system - prevent new subdirectories in src/interviews -src/interviews/*/ +# Interview system - prevent new subdirectories in src/interviews and symlinks +src/interviews/* # But allow existing files !src/interviews/README.md !src/interviews/types.ts diff --git a/craco.config.js b/craco.config.js index dc51398..53fff8e 100644 --- a/craco.config.js +++ b/craco.config.js @@ -10,5 +10,13 @@ module.exports = { alias: { "@": path.resolve(__dirname, "src"), }, + configure: (webpackConfig) => { + webpackConfig.resolve.symlinks = false; + webpackConfig.watchOptions = { + ...webpackConfig.watchOptions, + followSymlinks: true, + }; + return webpackConfig; + }, }, }; diff --git a/tsconfig.json b/tsconfig.json index 1f41c67..7f479d4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -20,5 +20,8 @@ "@/*": ["./src/*"] } }, - "include": ["src"] + "include": ["src"], + "exclude": [ + "**/*.as.ts" + ] }