Commit 76c28a92 authored by Jay Laura's avatar Jay Laura
Browse files

testing using a path prefix for deploy

parent 53b9c069
Loading
Loading
Loading
Loading

.babelrc

0 → 100644
+44 −0
Original line number Diff line number Diff line
{
  "presets": [
    "airbnb",
    [
      "@babel/preset-env",
      {
        "modules": false
      }
    ]
  ],
  "plugins": [

    ["@babel/plugin-transform-runtime",
      {
        "regenerator": true
      }
    ],

    [
      "babel-plugin-import",
      {
        "libraryName": "@mui/material",
        "libraryDirectory": "esm",
        "camel2DashComponentName": false
      },
      "core"

    ],
    [
      "babel-plugin-import",
      {
        "libraryName": "@mui/icons-material",
        "libraryDirectory": "esm",
        "camel2DashComponentName": false
      },
      "icons"
    ]
  ],
  "env": {
    "production": {
      "presets": ["minify"]
    }
  }
}
+4 −0
Original line number Diff line number Diff line
const { merge } = require('webpack-merge');
const Common = require("./webpack.common.js");
const path = require('path');

module.exports = merge(Common, {
  mode: "production",
  devtool: "source-map",
  watch: false,
  output: {
    publicPath: '/geostac/',
  },
});