DEV Community


Discussion on: Hide environment variables in your StencilJS project

daviddalbusco profile image
David Dal Busco Author

You are facing the error in your editor or when you run the command?

In my editor I had to add the following:

// @ts-ignore
import devConfig from './';
// @ts-ignore
import prodConfig from './';

but otherwise, do you have maybe a special tsconfig.json file which doesn't allow you to import from json files?

is your project open source, could I check it out?