神岛 API 文档 - ArenaPro版
    Preparing search index...

    Variable processConst

    process: { env: { [key: string]: string } }

    Type declaration

    • env: { [key: string]: string }

      返回一个包含用户环境信息的对象。需结合插件dotenv-webpack使用。

      Returns an object containing user environment information. Requires the use of the dotenv-webpack plugin.

    因神岛平台限制,无法使用Nodejs原生模块,这里是模拟 Node.js 的 process 对象。

    Due to platform limitations, native Node.js modules cannot be used. This is a mock of the Node.js process object.