webpackbar icon indicating copy to clipboard operation
webpackbar copied to clipboard

create react app not work fine

Open pincman opened this issue 4 years ago • 1 comments

config

const path = require(`path`);
const WebpackBar = require("webpackbar");
const CracoLessPlugin = require("craco-less");
module.exports = {
  plugins: [
    {
      plugin: CracoLessPlugin,
      options: {
        lessLoaderOptions: {
          lessOptions: {
            modifyVars: { "@primary-color": "#1DA57A" },
            javascriptEnabled: true,
          },
        },
      },
    },
  ],
  webpack: {
    alias: {
      "@": path.resolve(__dirname, "src/"),
    },
    // @ts-ignore
    plugins: [new WebpackBar({ name: "admin" })],
  },
};

problem QQ20210208-190048@2x

pincman avatar Feb 08 '21 11:02 pincman

Was getting the same issue. Investigating it noticed that it's related to the width. Try to increase it to see if it will be fixed.

davidsonsns avatar Mar 08 '21 19:03 davidsonsns