- Home /
Is there a way to mark a file or folder as "don't import"
I have some .js files that I don't want Mono to try to compile. Every file added to the Assets folder gets immediately imported, if it's not in Assets, it's not copied when building the project. Is there a way to mark files or folders as "don't import"?
I'm not sure what you want. Files that aren't imported don't go into a build. Scripts need to be compiled before they can be used. Only the compiled version goes into the build, not the text files. If you want "scriptfiles" as plain text, change the extension to ".txt"
Answer by markpdolby · Nov 08, 2012 at 10:06 AM
Put them in a folder called WebPlayerTemplates: http://docs.unity3d.com/Documentation/ScriptReference/index.Script_compilation_28Advanced29.html
Any files in this folder will not be compiled.
Your answer
![](https://koobas.hobune.stream/wayback/20220613083531im_/https://answers.unity.com/themes/thub/images/avi.jpg)