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"] } } } webpack.prod.js +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/', }, }); 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"] } } }
webpack.prod.js +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/', }, });