CheesecakeLabs / front-end-boilerplate

🍰 CKL Frontend Boilerplate
4 stars 0 forks source link

Add webpack setup for fonts #26

Closed salatielsql closed 4 years ago

DiegoBousfield commented 4 years ago
   {
        test: /\.(eot|svg|ttf|woff|woff2|otf)$/,
        exclude: [/node_modules/, /images/],
        use: [
          {
            loader: 'file-loader',
            options: {
              name: '[name].[ext]',
              outputPath: 'fonts',
            },
          },
        ],
      },
smaniotto commented 4 years ago

Done on #30