Add alias for ui and remove SASS support

This commit is contained in:
John Lyon-Smith
2018-02-26 13:08:06 -08:00
parent 37e989fa51
commit 93c1ecb919
24 changed files with 26 additions and 568 deletions

View File

@@ -99,6 +99,7 @@ module.exports = {
'icons': path.join(srcPath, '/assets/icons/'),
'data': path.join(srcPath, '/assets/data/'),
'fonts': path.join(srcPath, '/assets/fonts/'),
'ui': path.join(srcPath, '/ui/'),
'src': srcPath,
},
plugins: [
@@ -172,7 +173,7 @@ module.exports = {
// use the "style" loader inside the async code so CSS from them won't be
// in the main CSS file.
{
test: /\.(sass|scss)$/,
test: /\.css$/,
loader: ExtractTextPlugin.extract(
Object.assign(
{
@@ -191,12 +192,6 @@ module.exports = {
sourceMap: shouldUseSourceMap,
},
},
{
loader: require.resolve('sass-loader'),
options: {
sourceMap: shouldUseSourceMap,
}
},
{
loader: require.resolve('postcss-loader'),
options: {