esbuild-node-tsc
esbuild-node-tsc copied to clipboard
Ignores `--config` parameter
Here's my config
module.exports = {
entryPoints: ['./lib/**/*.ts'],
outDir: './dist',
esbuild: {
minify: false,
target: 'es2015',
plugins: [esbuildPluginTsc()],
},
};
And here's the command telling me that it doesn't care that I've specified my own config and is doing its own thing instead
$ /project/node_modules/.bin/etsc --config etsc.config.js
Using default config
NestedError: Cannot glob `**,!**/*.{ts,js,tsx,jsx}`: ENOENT: no such file or directory, stat 'src'
at /Users/daniel/code/ud/unstoppable-domains-website/node_modules/cpy/index.js:92:10
I just noticed the same thing, and then debugged it and saw that if there's any error on your config it will disregard it and load the default one, so just try to check what's wrong with your config.. you could also console.log on config.ts line 25 and see what the error is
@a7ul adding an output to the config error would be helpful for others to see why their config was not loaded
Would you be able you help out and raise a pr for the same @eliraz-refael ?