text: /*---------------------------------------------------------------------------------------------
  * Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
  * Licensed under the MIT License. See LICENSE.md in the project root for license terms.
  *--------------------------------------------------------------------------------------------*/
  
  const path = require("path");
  
  module.exports = {
    mode: "development",
    entry: "./lib/frontend/SimpleViewTest.js",
    output: {
      path: path.resolve(__dirname, "./lib/mobile/public"),
      filename: '[name].bundle.js',
      devtoolModuleFilenameTemplate: "file:///[absolute-resource-path]"
    },
    devtool: "cheap-module-source-map",
    module: {
      rules: [
        {
          test: /\.js$/,
          use: "source-map-loader",
          enforce: "pre"
        },
        {
          test: /azure-storage|AzureFileHandler|UrlFileHandler/,
          use: "null-loader"
        }
      ]
    },
    stats: "errors-only",
    externals: {
      "electron": "throw new Error('should never happen')",
      "IModelJsFs": "{IModelJsFs: IModelJsFs}",
      "./IModelJsFs": "{IModelJsFs: IModelJsFs}",
      "../IModelJsFs": "{IModelJsFs: IModelJsFs}",
      "fs": "IModelJsFs",
      "fs-extra": "IModelJsFs"
    },
  };
  