Popular
Newest
Updated
Sign in
Create an account
Categories
Admin Templates
205
Multipurpose Templates
167
Landing Pages
160
Portfolios & Resumes
87
Ecommerce
48
Blogs & Magazines
26
Directories & Listings
26
UI Kits & Website Builders
10
Documentation
5
Specialty
110
Topics
General
278
Business & Corporate
126
Design & Creative Services
115
Apps & Software
55
Retail & Shopping
36
Startups & SaaS
27
Marketing & Conversion
21
Restaurants & Cafes
18
Finance & Accounting
17
Education & Learning
16
See all →
Compatible with
Bootstrap
790
Tailwind CSS
49
PHP
43
React
42
Laravel
27
Python
25
Angular
24
Vue.js
22
Django
21
ASP.NET Core
14
See all →
Discussion on
Inspinia - Responsive Admin Template
Details
Discussion
Back to discussions
Showing 1 – 1 of 1 replies
←
1
→
Webpack config for packing
Daniel
PURCHASED
1 year ago
Good morning,
Getting all sorts of font errors when trying to pack the assets myself via webpack. Do you have a sample webpack.config.js that will successfully pack the theme's assets?
Reply
WebAppLayers
SELLER
1 year ago
Hi,
I will suggest to try url-loader for fonts files in your module object in config webpack:
{
test: /\.(eot|ttf|woff|woff2)(\?v=\d+\.\d+\.\d+)?$/,
loader: 'url-loader?limit=10000&mimetype=application/octet-stream'
}
Best regards, Damian
Reply
Close
Webpack config for packing
Getting all sorts of font errors when trying to pack the assets myself via webpack. Do you have a sample webpack.config.js that will successfully pack the theme's assets?
I will suggest to try url-loader for fonts files in your module object in config webpack:
{
test: /\.(eot|ttf|woff|woff2)(\?v=\d+\.\d+\.\d+)?$/,
loader: 'url-loader?limit=10000&mimetype=application/octet-stream'
}
Best regards, Damian