@ajeeshb562/navbar-test v0.2.4
var path = require("path");
module.exports = { mode: "production", entry: "./src/index.js", output: { path: path.resolve("build"), filename: "index.js", libraryTarget: "commonjs2" }, module: { rules: { test: /.js$/, exclude: /node_modules/, loader: "babel-loader" }, { test: /.css$/, loader:"style-loader" } }, externals: { react: "react" } };
const { NODE_ENV } = process.env;
const presets = "@babel/preset-env", "@babel/preset-react"; const plugins = //"@babel/plugin-transform-react-jsx", //"@babel/plugin-proposal-class-properties", ;
if (NODE_ENV === "production") { // plugins.push("transform-react-remove-prop-types"); }
module.exports = { presets, plugins };
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago