Commit f6d25b91 authored by Zac Wood's avatar Zac Wood

added loaders back

parent b8337fb2
......@@ -26,7 +26,8 @@ module.exports = {
},
module: {
rules: [{
rules: [
{
test: /\.tsx?$/,
loader: 'awesome-typescript-loader',
exclude: /node_modules/,
......@@ -38,7 +39,8 @@ module.exports = {
},
{
test: /\.css$/,
use: [{
use: [
{
loader: 'style-loader',
},
{
......@@ -46,6 +48,26 @@ module.exports = {
},
],
},
{
test: /\.woff(\?.+)?$/,
use: 'url-loader?limit=10000&mimetype=application/font-woff',
},
{
test: /\.woff2(\?.+)?$/,
use: 'url-loader?limit=10000&mimetype=application/font-woff',
},
{
test: /\.ttf(\?.+)?$/,
use: 'file-loader',
},
{
test: /\.eot(\?.+)?$/,
use: 'file-loader',
},
{
test: /\.svg(\?.+)?$/,
use: 'file-loader',
},
{
test: /\.(js)$/,
exclude: /(node_modules)/,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment