Meteor “服务器”文件夹中的子目录是否只能在服务器上访问?

Meteor “服务器”文件夹中的子目录是否只能在服务器上访问?,meteor,structure,Meteor,Structure,流星记录国 Meteor ensures that any file in any directory named server/ will only be available on the server 但是服务器文件夹中的子目录及其相应的文件呢?它们也只能通过服务器访问吗?e、 g server/ server.js myfolder/ fileIOnlyWantToBeAccessibleByTheServer.js anotherFileIOnly

流星记录国

Meteor ensures that any file in any directory named server/ will only be available on the server 
但是服务器文件夹中的子目录及其相应的文件呢?它们也只能通过服务器访问吗?e、 g

server/
   server.js
   myfolder/
      fileIOnlyWantToBeAccessibleByTheServer.js
      anotherFileIOnlyWantToBeAccessibleByTheServer.js
client/
   client.js
common/
   common.js

服务器的子目录不会发送到客户端。从这里开始:

客户端上未加载任何名为server/的目录


虽然它没有明确地说明子目录,但我认为它是从该语句中暗示出来的。另外,根据经验,我可以说subdir没有发送。

为什么不试试呢?只需尝试在client.js中导入一些内容,这些内容在server/myfolder/fileionlywanttobeaccessibletheserver.js中导出,然后看看会发生什么。