Commit 7d3267e4 authored by David Haynes's avatar David Haynes 🙆

Add masonstrap

- I probably went overkill on the loaders but I had to be certain that
it'd work
parent c2f19fb3
......@@ -22,10 +22,21 @@
"dependencies": {
"@types/react": "^16.3.12",
"@types/react-dom": "^16.0.5",
"babel-loader": "^7.1.4",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^0.28.11",
"file-loader": "^1.1.11",
"file-saver": "^1.3.8",
"html-webpack-plugin": "^3.2.0",
"masonstrap": "https://git.gmu.edu/srct/masonstrap.git",
"react": "^16.3.2",
"react-dom": "^16.3.2"
"react-dom": "^16.3.2",
"style-loader": "^0.21.0",
"url-loader": "^1.0.1"
},
"babel": {
"presets": [
"es2015"
]
}
}
import 'masonstrap/build/css/masonstrap.min.css';
import 'masonstrap/build/js/masonstrap.min.js';
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import App from './components/App';
......
......@@ -37,6 +37,43 @@ module.exports = {
test: /\.js$/,
loader: 'source-map-loader'
},
{
test: /\.css$/,
use: [{
loader: "style-loader"
},
{
loader: "css-loader"
}
]
},
{
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)/,
loader: "babel-loader"
},
],
},
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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