Closed juniorbotelho closed 3 years ago
How about adding the src
folder to the excludes
list of the tsconfig.json
file?
{
"exclude": ["node_modules", "build", "src"]
}
Close the issue, I already solved it with a custom webpack. As for your suggestion, it didn’t work very well since dynamic typing was disabled, thanks anyway: D
Can I ignore a folder with production build command?
Ex:
node ace build --production --ignore=["src", "readme"]
ornode ace build --production --ignore ./src
Image from dev env (Just as an example, I haven't set up Webpack and Babel yet.):
Why this feature is required (specific use-cases will be appreciated)?
It is a good approach for applications in React, where there is the folder "src". So when building the application, we will not need this folder since in package.json, I will add a script to build the React App within "resources/view/react/index.edge".
Have you tried any other work arounds?
No
Are you willing to work on it with little guidance?
Yes