Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add semantic config in the webpack config? #99

Open
nagacoder opened this issue Mar 29, 2019 · 1 comment
Open

How to add semantic config in the webpack config? #99

nagacoder opened this issue Mar 29, 2019 · 1 comment

Comments

@nagacoder
Copy link

nagacoder commented Mar 29, 2019

i have config like this in webpack

      test: /\.js$/,
      loader: 'babel-loader',
      exclude: /node_modules/,
      options: {
        presets: ['react-hmre']
      }
    }, {
      test: /\.css$/,
      use: [
        'style-loader',
        'css-loader?modules&sourceMap&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]',
        {
          loader: 'postcss-loader',
          options: {
            plugins: () => [autoprefixer]
          }
        }
      ]
    },
    {
      test: /\.(png|woff|woff2|eot|ttf|svg)$/,
      loader: 'url-loader?limit=100000'
    }
  ]```
and get error like this



![image](https://user-images.githubusercontent.com/32693625/55225631-a5d60b00-5245-11e9-9c24-ca6e282c927d.png)
@nagacoder
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant