DEV Community

Tony Lobbin
Tony Lobbin

Posted on

How to access ts files in specific directory ?

Hi everyone, would you mind if I ask for your assistance? Currently, I'm trying to import environment.ts into index.js for my project's structure, but I seem to be having some difficulty with it. Would you happen to have any suggestions or advice on how I could successfully accomplish this task?

project
|--.vscode
|--ckeditor5
|--node_modules/..
|--src/..
|--index.js
package.json
package-lock.json
webpack.config.js
|--src
|--node_modules/..
|--app/..
|--assets/..
|--environments
|--environment.ts
|--package.json

Top comments (0)