Skip to content
This repository has been archived by the owner on Jun 7, 2021. It is now read-only.

Add loaders for fonts and images #83

Open
dsebastien opened this issue Apr 5, 2016 · 1 comment
Open

Add loaders for fonts and images #83

dsebastien opened this issue Apr 5, 2016 · 1 comment
Milestone

Comments

@dsebastien
Copy link
Owner

{
        test: /\.(woff|woff2)(\?v=\d+\.\d+\.\d+)?$/,
        loader: 'url?limit=10000&mimetype=application/font-woff'
      },
      {
        test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
        loader: 'url?limit=10000&mimetype=application/octet-stream'
      },
      {
        test: /\.eot(\?v=\d+\.\d+\.\d+)?$/,
        loader: 'file'},
      {
        test: /\.svg(\?v=\d+\.\d+\.\d+)?$/,
        loader: 'url?limit=10000&mimetype=image/svg+xml'
      },
      {
        test: /\.png?$/,
        loader: 'file-loader'
      },
      {
        test: /\.jpg?$/,
        loader: 'file-loader'
      },
@dsebastien dsebastien modified the milestones: 0.1.2, 0.1.3 Apr 5, 2016
@dsebastien
Copy link
Owner Author

Additional, see #98

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

No branches or pull requests

1 participant