Skip to content

Instantly share code, notes, and snippets.

@tuannguyenminh2086
Last active April 13, 2020 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuannguyenminh2086/a2f3ba56cebd183edff3ab9017f18e5c to your computer and use it in GitHub Desktop.
Save tuannguyenminh2086/a2f3ba56cebd183edff3ab9017f18e5c to your computer and use it in GitHub Desktop.
{
  test: /\.(png|jpg|gif)$/i,
  use: [{
  loader: 'url-loader',
  options: {
  limit: 10240,
  name: 'img / [name]. [hash: 7]. [ext]',
  outputPath: '../assets',
  publicPath: buildAssetsPath + '/ assets'
  }
  }]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment